Versions in this module Expand all Collapse all v2 v2.7.2 Jan 29, 2024 Changes in this version + func CopyDir(src string, dst string) (err error) + func CopyDirExtended(src string, dst string, ignore []string) (err error) + func CopyFile(source string, target string) error + func DeleteFile(filename string) error + func DirExists(path string) bool + func DirIsEmpty(dir string) (bool, error) + func FileExists(path string) bool + func FindFileInParents(path string, filename string) string + func FindPathToFile(fsys fs.FS, file string) (string, error) + func GetSubdirectories(rootDir string) (*slicer.StringSlicer, error) + func MD5File(filename string) (string, error) + func MkDirs(fullPath string, mode ...os.FileMode) error + func Mkdir(dirname string) error + func MoveFile(source string, target string) error + func MustLoadString(filename string) string + func MustMD5File(filename string) string + func MustWriteString(filename string, data string) + func RelativePath(relativepath string, optionalpaths ...string) string + func RelativeToCwd(relativePath string) (string, error) + func SetPermissions(dir string, perm os.FileMode) error