mirror of https://github.com/Hilbis/Hilbish
20 lines
584 B
Plaintext
20 lines
584 B
Plaintext
abs(path) > Gives an absolute version of `path`.
|
|
|
|
basename(path) > Gives the basename of `path`. For the rules,
|
|
see Go's filepath.Base
|
|
|
|
cd(dir) > Changes directory to `dir`
|
|
|
|
dir(path) > Returns the directory part of `path`. For the rules, see Go's
|
|
filepath.Dir
|
|
|
|
glob(pattern) > Glob all files and directories that match the pattern.
|
|
For the rules, see Go's filepath.Glob
|
|
|
|
mkdir(name, recursive) > Makes a directory called `name`. If `recursive` is true, it will create its parent directories.
|
|
|
|
readdir(dir) > Returns a table of files in `dir`
|
|
|
|
stat(path) > Returns info about `path`
|
|
|