Documentation ¶
Index ¶
- func CheckNotExist(src string) bool
- func CheckPermission(src string) bool
- func FindFilesOlderThanDate(dir string, overDate int) (files []os.FileInfo, err error)
- func GetExt(fileName string) string
- func GetSize(f multipart.File) (int, error)
- func IsNotExistMkDir(src string) error
- func IsOlderThanDate(t time.Time, overDate int64) bool
- func MkDir(src string) error
- func MustOpen(fileName, filePath string) (*os.File, error)
- func Open(name string, flag int, perm os.FileMode) (*os.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPermission ¶
CheckPermission check if the file has permission
func FindFilesOlderThanDate ¶
Find files older than overDate
func IsNotExistMkDir ¶
IsNotExistMkDir create a directory if it does not exist
func IsOlderThanDate ¶
Judement file modtime older than overDate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.