fs

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(dirs ...string) (err error)

func Delete

func Delete(filePath string) error

func FileExist

func FileExist(path string) bool

FileExist 判断文件是否存在

func FilePathInfo

func FilePathInfo(file string) (path, name, ext string)

func Move

func Move(src, dst string) (err error)

func PathExists

func PathExists(path string) (bool, error)

func TrimSpace

func TrimSpace(target interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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