MCPcopy Create free account
hub / github.com/VainF/DeepLabV3Plus-Pytorch / list_files

Function list_files

datasets/utils.py:106–126  ·  view source on GitHub ↗

List all files ending with a suffix at a given root Args: root (str): Path to directory whose folders need to be listed suffix (str or tuple): Suffix of the files to match, e.g. '.png' or ('.jpg', '.png'). It uses the Python "str.endswith" method and is passed directl

(root, suffix, prefix=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected