Module fs
Functions for interacting with the underlying filesystem.
Functions
define change_dir(dirname: String)
Change the current working directory to dirname
.
IOError
ifdirname
is not valid, or does not exist.
define create_dir(dirname: String, mode: *Integer)
Create directory dirname
with mode
permissions.
Note: On Windows, mode
is ignored.
IOError
ifdirname
cannot be created.
define current_dir: String
Return the current directory.
define remove_dir(dirname: String)
Remove directory dirname
.
Note: The directory must be empty.
IOError
ifdirname
cannot be removed.