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
toto
, 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 apath
, 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.