Documentation
¶
Index ¶
- Constants
- func CopyFolder(srcPath, dstPath string) error
- func CreateAllFolder(path string) error
- func CreateBinary(path string, data []byte) error
- func CreateEntry(path string, entry *entity.Entry, isIndent bool) error
- func CreateFolder(path string) error
- func CreateInfo(path string, data *entity.FolderInfo, isIndent bool) error
- func GetBinary(path string) ([]byte, error)
- func GetEntry(path string) (*entity.Entry, error)
- func GetInfo(path string) (*entity.FolderInfo, error)
- func IsFileExist(path string) (isExist bool, err error)
- func IsFolderExist(path string) (isExist bool, err error)
- func List(path string) (*entity.List, error)
- func MoveObject(oldPath, newPath string) error
- func RemoveBinary(path string) error
- func RemoveEntry(path string) error
- func RemoveFolder(path string) error
Constants ¶
View Source
const ( DirPerm = 0755 InfoFile = ".info.json" )
Variables ¶
This section is empty.
Functions ¶
func CopyFolder ¶
func CreateAllFolder ¶
func CreateBinary ¶ added in v0.0.6
func CreateFolder ¶
func CreateInfo ¶
func CreateInfo(path string, data *entity.FolderInfo, isIndent bool) error
func IsFileExist ¶ added in v0.0.6
func IsFolderExist ¶
func MoveObject ¶ added in v0.0.6
func RemoveBinary ¶ added in v0.0.6
func RemoveEntry ¶
func RemoveFolder ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.