Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirIter ¶ added in v0.12.0
DirIter returns iterator over directory entries
This method of directory iteration can be especially useful for iteration over directories with large number of entries. It does not read all entries upfront working on at most `batchSize` entries at a time
func DirWritable ¶
DirWritable checks if a directory is writable. If the directory does not exist it is created with writable permission.
func ExpandHome ¶ added in v0.8.36
ExpandHome expands the path to include the home directory if the path is prefixed with `~`. If it isn't prefixed with `~`, the path is returned as-is.
func FileChanged ¶
FileChanged returns the modification time of a file and true if different from the given time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.