Documentation ¶
Index ¶
- func EnsureDirExists(path string)
- func GetDirs(path string) []os.DirEntry
- func GetFilesCount(path string) int
- func GetPathSeparator() string
- func ReadFile(root string, path string) ([]byte, string, string)
- func RemoveDir(path string) error
- func RemoveFile(path string) error
- func Save(filepath string, data []byte) error
- func Upload(root string, filename string, data []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDirExists ¶
func EnsureDirExists(path string)
func GetFilesCount ¶
func GetPathSeparator ¶ added in v0.0.29
func GetPathSeparator() string
func RemoveFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.