sgfile

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMkDir

func AutoMkDir(path string)

func Create

func Create(filename string) (*os.File, error)

func GetAllFile added in v1.9.5

func GetAllFile(pathname string) ([]string, error)

func GetFileContentAsStringLines

func GetFileContentAsStringLines(filePath string) ([]string, error)

func GetFileName

func GetFileName(path string) (string, error)

func GetFileRawName

func GetFileRawName(path string) (string, error)

func GetPath

func GetPath(path string) (string, error)

func MkdirAll

func MkdirAll(dir string, mode os.FileMode) error

func PathExists

func PathExists(path string) (bool, error)

func Rename

func Rename(oldPath string, newPath string) error

func WriteFile added in v1.9.0

func WriteFile(path string, filename string, datas []byte) (int, 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