Documentation ¶
Index ¶
- func CheckPermission(src string, mode os.FileMode) (bool, error)
- func CreateFile(buff *bytes.Buffer, fpath string) (err error)
- func Ext(fileName string) string
- func FileZip(dst, src string, notContPath string) (err error)
- func GetCurrentPath() string
- func IsExist(path string) bool
- func IsNotExistMkDir(src string) error
- func Mkdir(src string) error
- func OpenFile(fpath string, flag int, perm os.FileMode) (f *os.File, err error)
- func Remove(name string) (err error)
- func Size(r io.Reader) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPermission ¶ added in v0.0.34
CheckPermission 检查文件权限
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.