list_files

list_files(directory: Path | str) -> list[Path]

Recursively list all files in a directory.
This function will raise an exception if the directory does not exist.

Parameters:
NameDescription
directoryType: pathlib.Path | str