Documentation
¶
Index ¶
- func CopyDirectory(from string, to string) (err error)
- func CopyFile(from string, to string) (err error)
- func DownloadFile(url string, name string) (err error)
- func IsDirectory(name string) bool
- func IsFile(name string) bool
- func Move(from string, to string) (err error)
- func ReadDirectory(from string) (names []string, err error)
- func ReadFileInChunks(name string, max int, call func([]byte) error) (err error)
- func UnzipFile(from string, to string) (err error)
- func ZipDirectory(from string, to string) (err error)
- func ZipFile(from string, to string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDirectory ¶
func DownloadFile ¶
DownloadFile downloads a file to the disk.
func IsDirectory ¶
IsDirectory checks if file exists and is a directory.
func ReadDirectory ¶
func ReadFileInChunks ¶
ReadFileInChunks reads a file in chunks of a set maximum size.
func ZipDirectory ¶
ZipDirectory zips a directory to the disk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.