Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir copies the src directory into the target directory, preserving file and directory modes.
func CreateFile ¶
CreateFile creates the file specified by the given path and all parent directories if they don't exist. If flags are provided, they will be passed to open() with os.O_CREATE.
func DirIsEmpty ¶
DirIsEmpty returns whether a given directory is empty. By convention, we say that a directory is empty if it does not exist.
func FileExists ¶
FileExists returns whether a given file exists.
func FileIsOpen ¶
FileIsOpen returns whether the given file is open or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.