gigl.common.utils.count_files_with_uri_prefix#
- gigl.common.utils.local_fs.count_files_with_uri_prefix(uri_prefix: LocalUri, suffix: str | None = None) int #
Count the number of files with a given URI prefix.
- Args:
uri_prefix (LocalUri): The URI prefix to match. suffix (Optional[str]): The suffix to match. Defaults to None.
- Returns:
int: The number of files with the given URI prefix.