file

package
v0.0.0-...-07ef6c8 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Artistic-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryExists

func DirectoryExists(dirPath string) bool

func Dump

func Dump(b []byte, filePath string) error

func FileDays

func FileDays(filename string) (int, error)

文件存在的天数

func FileExists

func FileExists(filepath string) bool

func FileHasSuffix

func FileHasSuffix(filename string, suffix string) bool

func FileOrDirExist

func FileOrDirExist(fileOrDir string) bool

func FilesInDir

func FilesInDir(dir string) []string

func FilesInDirRecursive

func FilesInDirRecursive(dir string) []string

func GetFileRecursive

func GetFileRecursive(pathname string, fileList []string)

func GetFileRecursiveOriginal

func GetFileRecursiveOriginal(pathname string) []string

func Load

func Load(filePath string) ([]byte, error)

func Md5sum

func Md5sum(filepath string) (string, error)

func ReadFile

func ReadFile(inputFile string) (string, error)

func WriteFile

func WriteFile(file2Write string, string2Write 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