Documentation ¶
Overview ¶
Package fs contains helper functions for file system access and enumeration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chdir ¶
Chdir changes the process current working directory to the specified one, executes the callback and then restores the original working directory.
func Glob ¶
Glob enumerates files on a given path using a globbing expression and execute a callback for each of the files. The callback can interrupt the loop by returning an error other than nil.
func LineReader ¶
LineReader accepts the name of a file and offset as argument and will return a channel from which lines can be read one at a time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.