delta.utils.list_files#

delta.utils.list_files(directory, suffixes)[source]#

Return a sorted list of filenames in directory that have one of the specified extensions.

Parameters
directoryPath

Directory to iterate.

suffixesIterable[str]

List, tuple, set, etc. of allowed extensions.

Returns
[Path]

List of matching filenames.