Versions in this module Expand all Collapse all v1 v1.0.0 Feb 10, 2024 Changes in this version + func DirExists(path string) (bool, error) + func EmptyDir(path string) error + func EnsureDir(path string) error + func EnsureDirAll(path string) error + func FileExists(path string) (bool, error) + func FileType(filePath string) (types.Type, error) + func GetHomeDirectory() string + func GetIntraDir(pattern string, depth, length int) string + func GetParent(path string) *string + func IsZipFileUncompressed(path string) (bool, error) + func ListDir(path string) []string + func MatchEntries(dir, pattern string) ([]string, error) + func RemoveDir(path string) error + func SafeMove(src, dst string) error + func ServeFileNoCache(w http.ResponseWriter, r *http.Request, filepath string) + func Touch(path string) error + func WriteFile(path string, file []byte) error