Expand description
Utilities for File Operations
Functions§
- collect_
arc_ files - Collects archive files from the specified path, either as a directory or a single file.
- collect_
files - Collects files from the specified path, either as a directory or a single file.
- find_
arc_ files - Finds all archive files in the specified directory and its subdirectories.
- find_
files - Finds all files in the specified directory and its subdirectories.
- make_
sure_ dir_ exists - Ensures that the parent directory for the specified path exists, creating it if necessary.
- read_
file - Reads the content of a file or standard input if the path is “-”.
- relative_
path - Returns the relative path from
root
totarget
. - write_
file - Writes content to a file or standard output if the path is “-”.