Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ChtimesNow ¶ added in v0.0.23
Chtimes changes the access and modification times of the named file with Now, similar to the Unix utime() or utimes() functions.
The underlying filesystem may truncate or round the values to a less precise time unit. If there is an error, it will be of type *PathError.
func CreateAll ¶ added in v0.0.23
CreateAll creates or truncates the named file or dir. If the file already exists, it is truncated. If the file does not exist, it is created with mode 0666 (before umask). If the dir does not exist, it is created with mode 0666 (before umask).
func CreateAllIfNotExist ¶ added in v0.0.23
CreateAllIfNotExist creates the named file or dir. If the file does not exist, it is created with mode 0666 (before umask). If the dir does not exist, it is created with mode 0666 (before umask). If path is already a directory, CreateAllIfNotExist does nothing and returns nil.
func GetAbsBinDir ¶
func PathExists ¶
Types ¶
This section is empty.