abs(path) -> string |
Returns an absolute version of the `path`. |
basename(path) -> string |
Returns the "basename," or the last part of the provided `path`. If path is empty, |
cd(dir) |
Changes Hilbish's directory to `dir`. |
dir(path) -> string |
Returns the directory part of `path`. If a file path like |
glob(pattern) -> matches (table) |
Match all files based on the provided `pattern`. |
join(...path) -> string |
Takes any list of paths and joins them based on the operating system's path separator. |
mkdir(name, recursive) |
Creates a new directory with the provided `name`. |
fpipe() -> File, File |
Returns a pair of connected files, also known as a pipe. |
readdir(path) -> table[string] |
Returns a list of all files and directories in the provided path. |
stat(path) -> {} |
Returns the information about a given `path`. |