files

package
v1.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGetFileInfo       = errors.New("Error get FileInfo")
	ErrFileAlreadyExists = errors.New("File already exists")
	ErrCreateFile        = errors.New("Error create file")
)

File errors

Functions

func CreateFile

func CreateFile(path string) (err error)

CreateFile create a file from path.

func DeleteFile

func DeleteFile(path string) (err error)

DeleteFile delete a file from path

func Exists

func Exists(path string) bool

Exists returns true/false depending if the file indicated in path, exists or not

func GetAppPath

func GetAppPath() string

GetAppPath returns the application absolute path

Types

This section is empty.

Jump to

Keyboard shortcuts

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