Versions in this module Expand all Collapse all v1 v1.1.0 Apr 14, 2024 Changes in this version + func ConvertBytesToSizeString(size int64) string v1.0.0 Apr 6, 2024 Changes in this version + const CurrentDirectory + const DirectoriesListingType + const FilesListingType + const HomeDirectory + const PreviousDirectory + const RootDirectory + func CopyDirectory(pathname string) error + func CopyFile(name string) error + func CreateDirectory(name string) error + func CreateFile(name string) error + func DeleteDirectory(name string) error + func DeleteFile(name string) error + func FindFilesByName(name, dir string) ([]string, []fs.DirEntry, error) + func GetDirectoryItemSize(path string) (int64, error) + func GetDirectoryListing(dir string, showHidden bool) ([]fs.DirEntry, error) + func GetDirectoryListingByType(dir, listingType string, showHidden bool) ([]fs.DirEntry, error) + func GetHomeDirectory() (string, error) + func GetWorkingDirectory() (string, error) + func MoveDirectoryItem(src, dst string) error + func ReadFileContent(name string) (string, error) + func RenameDirectoryItem(src, dst string) error + func Unzip(name string) error + func WriteToFile(path, content string) error + func Zip(name string) error