mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-19 01:43:25 -05:00
fix: keep tree entries out of the asset store
This commit is contained in:
1 parent
faa8af0800
commit
3766588ec1
3 files changed
+33
No files matched your search
@@ -210,6 +210,10 @@ def resolve_file(
|
||||
# Large files from GitHub release assets -tried when local file is
|
||||
# missing OR has a hash mismatch (wrong variant on disk)
|
||||
name = file_entry.get("name", "")
|
||||
if file_entry.get("type") == "directory" or name.endswith("/"):
|
||||
# A tree the collection does not hold is missing, as verify says;
|
||||
# the asset store holds files, not trees.
|
||||
return (path, status) if path else (None, "not_found")
|
||||
declared = _declared_hashes(file_entry)
|
||||
if file_entry.get("unsourceable") and not any(declared.values()):
|
||||
# The asset store is addressed by file name: with no hash to check,
|
||||
|
||||
Reference in new issue
Block a user