Documentation
¶
Index ¶
- Variables
- func ByteSliceToString(bs []byte) string
- func Contains(alreadySyncFiles []string, f string) bool
- func CreateDirIfNotExist(path string) error
- func Exists(path string) (bool, error)
- func GetEmbedBinName(name string) string
- func GetUploadFilePath(basePath string, defaultRegexp []*regexp.Regexp) ([]string, error)
- func Slash(path string) string
- func SplitSeparator(path string) []string
- func StringToByteSlice(str string) []byte
- func TouchFile(path string) error
- type SyncTxt
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSyncTxtNotEnable = errors.New("sync txt is not enable")
Functions ¶
func ByteSliceToString ¶
func GetEmbedBinName ¶
func GetUploadFilePath ¶
获取目录文件夹下的所有文件路径名
func SplitSeparator ¶
func StringToByteSlice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.