We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e1701 commit 9e7ff04Copy full SHA for 9e7ff04
āsrc/huggingface_hub/utils/_cache_manager.pyā
@@ -742,7 +742,7 @@ def _scan_cached_repo(repo_path: Path) -> CachedRepoInfo:
742
743
for ref_path in refs_path.glob("**/*"):
744
# glob("**/*") iterates over all files and directories -> skip directories
745
- if ref_path.is_dir():
+ if ref_path.is_dir() or ref_path.name in FILES_TO_IGNORE:
746
continue
747
748
ref_name = str(ref_path.relative_to(refs_path))
0 commit comments