Documentation ¶
Overview ¶
Package fileutil contains common file functions.
Index ¶
Constants ¶
View Source
const ( // AccessExists checks whether the file exists. AccessExists = unix.F_OK // AccessRead checks whether the user has read permissions on // the file. AccessRead = unix.R_OK // AccessWrite checks whether the user has write permissions // on the file. AccessWrite = unix.W_OK // AccessExec checks whether the user has executable // permissions on the file. AccessExec = unix.X_OK )
Variables ¶
This section is empty.
Functions ¶
func DirectoryDoesExist ¶
DirectoryDoesExist returns true if the file exists.
func FileDoesExist ¶
FileDoesExist returns true if the file exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.