Documentation
¶
Overview ¶
Package sys provides system level utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func La ¶
La lists all files of the directory including hidden files and self/parent directory; it's behaviour is the same as calling `ls -a`.
func ReadDir ¶
ReadDir mimic the behaviour of ioutil.ReadDir (reads the directory named by dirname and returns a list of directory entries sorted by filename), but use `ls -a` and string parsing internally.
func Walk ¶
Walk walks the file tree rooted at root, calling walkFn for each file or directory in the tree, including root. All errors that arise visiting files and directories are filtered by walkFn. The files are walked in lexical order, which makes the output deterministic but means that for very large directories Walk can be inefficient. Walk does not follow symbolic links.
Types ¶
This section is empty.