Module fs

Functions for interacting with the underlying filesystem.


define change_dir(dirname: String)

Change the current working directory to dirname.

define create_dir(dirname: String, mode: *Integer)

Create directory dirname with mode permissions.

Note: On Windows, mode is ignored.

define current_dir: String

Return the current directory.

define remove_dir(dirname: String)

Remove directory dirname.

Note: The directory must be empty.