diff --git a/dvc/repo/cache.py b/dvc/repo/cache.py index 3c6143319..7bd6fd1d1 100644 --- a/dvc/repo/cache.py +++ b/dvc/repo/cache.py @@ -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