Module fs

Source
Expand description

Utility functions for working with paths.

Traits§

ToRelative
Convert a path to a path relative to the current directory which implements Display.

Functions§

copy
Copy a file from from to to, and output those path to log.
create_dir
Create a new directory if it doesn’t exist, and output the path to log.
create_file
Create a new File from a path, and output the path to log.
create_or_cleanup_dir
Create a new directory if it doesn’t exist, or remove all its contents if exists.
remove_dir
Remove a directory if exists and output the path to log.