Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsFile ¶
ContainsFile check directory where it contains file or not
func GetBasePath ¶
GetBasePath extract basepath from regexp path string
example1. value : `^D:/HOGEMOGE/FUGAFUGA/csharp/src/.*/bin/.+/netcoreapp2.2$` result : `D:/HOGEMOGE/FUGAFUGA/csharp/src/`
example2. value : `^D:/PIYOPIYO/ghoasd.*` result : `^D:/PIYOPIYO/`
Types ¶
type LatestFile ¶
LatestFile express pathinfo
func GetLatestFile ¶
func GetLatestFile(dir string, pattern string) (latest LatestFile, err error)
GetLatestFile return latest file in the path
Click to show internal directories.
Click to hide internal directories.