Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
EnsureDir checks if the specified directory exists, and optionally verifies if it is empty. If the directory does not exist, it attempts to create it with 0755 permissions.
func IsDirEmpty ¶
IsDirEmpty returns true if the directory at path is empty, false otherwise. Returns an error if the path does not exist or is not a directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.