Documentation ¶
Overview ¶
Package files provides files operations helpers.
Index ¶
- func CopyDir(src, dest string)
- func CopyFile(source string, dest string, mode os.FileMode) (err error)
- func IsExist(path string) bool
- func Reader(filePath string) (r io.Reader, size int64, close func() error, e error)
- func Save(path string, data []byte, mode os.FileMode) error
- func SetLastModif(path ...string) error
- func UnTarGz(topath string, source io.ReadCloser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
func CopyDir(src, dest string)
CopyDir copies files recursively from source to destination dir.
func IsExist ¶
IsExist checks whether a file or directory exists. It returns false when the file or directory does not exist.
func SetLastModif ¶
SetLastModif save download date file for a package.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package fileaccess serialize files access.
|
Package fileaccess serialize files access. |
Package history provides the core part for services history data management.
|
Package history provides the core part for services history data management. |
Click to show internal directories.
Click to hide internal directories.