cache: check-missing: add type, oid name and oid

This commit is contained in:
Ruslan Kuprieiev
2023-08-23 02:07:32 +03:00
parent cae1b1b647
commit 736ca9a5e5
+9 -1
View File
@@ -26,6 +26,14 @@ def check_missing(repo, rev=None, max_size=None, types=None):
continue
if not fs.exists(path):
ret.append(os.path.join(*entry.key))
typ = "directory" if (entry.meta and entry.meta.isdir) else "file"
ret.append(
(
typ,
entry.hash_info.name,
entry.hash_info.value,
os.path.join(*entry.key),
)
)
return ret