Documentation ¶
Index ¶
- func CheckAndGetParentDir(path string) string
- func Exists(fpath string) bool
- func GetCurrentDirectory() string
- func GetCurrentPackage() string
- func IsDirectory(path string) (bool, error)
- func IsFileChanged(src, dest string) (bool, error)
- func ListFiles(dir string, ext string) []string
- func Lock(name string) (io.Closer, error)
- func MakeDirectory(dirs ...string) error
- func MkdirIfNecessary(createDir string) error
- func RecursiveDirsLookup(root string, pattern string) ([]string, error)
- func RecursiveFilesLookup(root string, pattern string) ([]string, error)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFileChanged ¶
IsFileChanged reports whether src and dest config files are equal. Two config files are equal when they have the same file contents and Unix permissions. The owner, group, and mode must match. Returns false in other cases.
func RecursiveDirsLookup ¶
RecursiveDirsLookup ...
Types ¶
Click to show internal directories.
Click to hide internal directories.