file

package
v0.0.0-...-c6f1323 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNotExist

func CheckNotExist(src string) bool

检查文件是否不存在,不存在返回true

func CheckPermission

func CheckPermission(src string) bool

检查是否具有文件权限

func IsNotExistMkdir

func IsNotExistMkdir(src string) error

检查目录是否存在,不存在就创建目录

func MkDir

func MkDir(src string) error

func MustOpen

func MustOpen(filename, filepath string) (*os.File, error)

func Open

func Open(name string, flag int, perm os.FileMode) (*os.File, error)

打开一个文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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