file

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNotExist

func CheckNotExist(src string) bool

func CheckPermission

func CheckPermission(src string) bool

func Create

func Create(content bytes.Buffer, name string)

func GetExt

func GetExt(fileName string) string

func IsNotExistAndMkDir

func IsNotExistAndMkDir(src string) error

func MkDir

func MkDir(src string) error

func Open

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

func PathCreate

func PathCreate(dir string) error

func PathExist

func PathExist(addr string) bool

func ReadAll

func ReadAll(filePath string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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