Expand description
Filesystem utilities and helpers.
Functionsยง
- copy_
files_ except_ ext - Copies all files of a directory to another one except the files
with the extensions given in the
ext_blacklistarray - create_
dir_ all - Equivalent to
std::fs::create_dir_allwith better error messages. - path_
to_ root - Takes a path and returns a path containing just enough
../to point to the root of the given path. - read_
to_ string - Reads a file into a string.
- remove_
dir_ content - Removes all the content of a directory but not the directory itself.
- write
- Writes a file to disk.