Documentation ¶
Index ¶
- Variables
- func CopyFile(src, dst string) error
- func CopyFs(fs fs.FS, destDir string) error
- func CopyFsFile(fs fs.FS, src, dst string) error
- func GetFsFilenames(efs fs.FS) (files []string, err error)
- func GetNonExisting(parentDirPath string, desiredName string) (resultingName string, err error)
- func GetRelPathInsideDir(path, base string) (string, error)
- func IsInDir(dir, path string) (bool, error)
- func RenameFile(src, dst string) error
- func RenameOrCopyFile(src, dst string, logger logging.Logger) error
- func WriteBinFile(path string, data []byte) error
- func WriteFile(path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIsNotRelative = fmt.Errorf("path is not relative")
Functions ¶
func GetNonExisting ¶
func GetRelPathInsideDir ¶ added in v0.9.7
func RenameFile ¶
func RenameOrCopyFile ¶ added in v0.9.5
func WriteBinFile ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.