Versions in this module Expand all Collapse all v1 v1.1.0 May 4, 2024 v1.0.0 May 3, 2024 Changes in this version + func CopyDir(src, dst string, dirPerm, filePerm uint32) error + func CopyEmbeddedDir(src fs.FS, dest string, dirPerm, filePerm uint32) error + func CopyFile(src, dst string) error + func CopyFileEx(p *CopyFileT) (err error) + func CreateOrReplaceSymlink(symlinkPath, target string) error + func DirExists(path string) bool + func FileExists(path string) bool + func GetFileList(path string) ([]string, error) + func GetSortedFileList(path string, suffix string) ([]string, error) + func GetSymlinkList(path string) ([]string, error) + func GetUserConfirmationViaConsole(prompt string) bool + func ReadTextFile(path string) ([]string, error) + func ReadTextFileEx(path string) ([]string, string, error) + func StructToMap(in any) (map[string]any, error) + func TrimRightSpace(s string) string + type CopyFileT struct + Dest string + FileMode uint32 + Overwrite OverwriteActionT + PrependPrefix string + Src string + type OverwriteActionT uint32 + const OverwriteError + const OverwriteFatal + const OverwriteInfo + const OverwriteSilently + const OverwriteWarn