fsutils

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirPerm  = 0755
	InfoFile = ".info.json"
)

Variables

This section is empty.

Functions

func CopyFolder

func CopyFolder(srcPath, dstPath string) error

func CreateAllFolder

func CreateAllFolder(path string) error

func CreateEntry

func CreateEntry(path string, entry *entity.Entry) error

func CreateFolder

func CreateFolder(path string) error

func CreateInfo

func CreateInfo(path string, data *entity.FolderInfo) error

func GetEntry

func GetEntry(path string) (*entity.Entry, error)

func GetInfo

func GetInfo(path string) (*entity.FolderInfo, error)

func IsEntryExist

func IsEntryExist(path string) (isExist bool, err error)

func IsFolderExist

func IsFolderExist(path string) (isExist bool, err error)

func List

func List(path string) (*entity.List, error)

func MoveFolder

func MoveFolder(oldPath, newPath string) error

func RemoveEntry

func RemoveEntry(path string) error

func RemoveFolder

func RemoveFolder(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL