Documentation
¶
Overview ¶
Package fsutil is common file system utils for Go.
Index ¶
- func CleanDir(fpath string) error
- func Compress(src, dst string) error
- func Copy(src, dst string) error
- func CopyFile(src, dst string) (err error)
- func DeCompress(src, dst string) (err error)
- func IsDir(fpath string) bool
- func IsExists(fpath string) bool
- func IsSymlink(fpath string) bool
- func MkDirAll(fpath string) error
- func Owner(fpath string) (uid, gid int, err error)
- func Tar(src, dst string) error
- func UnTar(src, dst string) (err error)
- func Walk(fpath string, fn WalkFunc) error
- type WalkFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeCompress ¶ added in v0.1.7
DeCompress is like UnTar but will use gzip to decompress.
Types ¶
Click to show internal directories.
Click to hide internal directories.