Documentation
¶
Index ¶
- Variables
- func CopyDir(src, dst string, BUFFERSIZE int64) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func CutTo(data []byte, size int) [][]byte
- func DirExist(dir string) bool
- func Exists(filePath string) bool
- func GetFilesList(dir string) []string
- func ReadAllFiles(dir string, fn interface{})
- func ReadByte(dir string) ([]byte, error)
- func ReadDir(dirname string) ([]fs.FileInfo, error)
- func ReadString(dir string) (string, error)
- func RemoveContents(dir string, ignore []string)
Constants ¶
This section is empty.
Variables ¶
View Source
var BUFFERSIZE int64
Functions ¶
func CopySymLink ¶
func GetFilesList ¶
func ReadAllFiles ¶
func ReadAllFiles(dir string, fn interface{})
func ReadString ¶
func RemoveContents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.