Documentation ¶
Index ¶
- func ClearFolderEx(folderFullPath string, overtime int) error
- func CopyDir(src string, dst string) error
- func CopyFile(src, dst string) error
- func GenerateCSFVideoFile(videoPartsRootPath string) (string, error)
- func GenerateShooterVideoFile(videoPartsRootPath string) (string, error)
- func GenerateXunleiVideoFile(videoPartsRootPath string) (string, error)
- func GetNowTimeString() (string, int, int, int)
- func GetTestDataResourceRootPath(resourceFolderNames []string, goBackTimes int, userCopyData bool) string
- func IsDir(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearFolderEx ¶
ClearFolderEx 清空文件夹,文件夹名称有特殊之处,Hour-min-Nanosecond 的命名方式 如果调用的时候,已存在的文件夹的时间 min < 5 那么则清理
func GenerateCSFVideoFile ¶
GenerateCSFVideoFile 这里为 CSF 的接口专门生成一个视频文件,瑞克和莫蒂 (2013)\Season 5\S05E09 .mkv
func GenerateShooterVideoFile ¶
GenerateShooterVideoFile 这里为 shooter 的接口专门生成一个视频文件,瑞克和莫蒂 (2013)\Season 5\S05E09 .mkv
func GenerateXunleiVideoFile ¶
GenerateXunleiVideoFile 这里为 xunlei 的接口专门生成一个视频文件,手机 (2003) 720p Cooker.rmvb
func GetNowTimeString ¶
GetNowTimeString 获取当前的时间,没有秒
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.