list_paths#
- list_paths(uri: str, ext: str = '', fs: rastervision.pipeline.file_system.file_system.FileSystem | None = None, **kwargs) list[str][source]#
List paths rooted at URI.
Optionally only includes paths with a certain file extension.
- Parameters:
uri (str) – the URI of a directory
ext (str) – the optional file extension to filter by
fs (rastervision.pipeline.file_system.file_system.FileSystem | None) – if supplied, use fs instead of automatically chosen FileSystem for uri
**kwargs – extra kwargs to pass to fs.list_paths().
- Return type: