Versions in this module Expand all Collapse all v1 v1.0.0 Aug 19, 2022 Changes in this version + var Separator = fmt.Sprintf("%c", os.PathSeparator) + func AllFiles(dir string) (files []string, err error) + func Append(path string, content []byte) error + func Basename(path string) string + func Chmod(path string, mode fs.FileMode) error + func Copy(src, dst string) error + func CopyDirectory(dir, dest string) error + func Delete(paths ...string) error + func DeleteDirectory(path string) error + func Directories(dir string) (dirs []string, err error) + func Dirname(path string) string + func Exists(path string) (bool, error) + func Extension(path string) string + func Files(dir string) (files []string, err error) + func Get(path string) (b []byte, err error) + func GetString(path string) (content string, err error) + func IsDirectory(path string) (bool, error) + func IsFile(path string) (bool, error) + func IsReadable(path string) (bool, error) + func IsWritable(path string) (bool, error) + func LastModified(path string) (t time.Time, err error) + func Link(src, dst string) error + func MakeDirectories(path string, mode os.FileMode) error + func MakeDirectory(path string, mode os.FileMode) error + func Move(from string, to string) error + func MoveDirectory(src, dst string) error + func MustGet(path string) []byte + func MustGetString(path string) string + func Name(path string) string + func Prepend(path string, content []byte) error + func Put(path string, content []byte) error + func PutString(path string, content string) error + func Size(path string) (int64, error)