Documentation ¶
Index ¶
- func Exist(file string) bool
- func GetDirectoryList(path string) ([]string, error)
- func GetExistPath(path string) string
- func ListDir(path string) ([]string, error)
- func Map(f *os.File) ([]byte, error)
- func MkDir(path string) error
- func MkDirIfNotExist(path string) error
- func RWMap(f *os.File, size int) (data []byte, err error)
- func RemoveDir(path string) error
- func RemoveFile(file string) error
- func Sync(data []byte) error
- func Unmap(f *os.File, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDirectoryList ¶
GetDirectoryList reads the directory named by dirname and returns a list of directory.
func GetExistPath ¶
GetExistPath gets exist path based on given path.
func MkDirIfNotExist ¶
MkDirIfNotExist creates given dir if it's not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.