mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
tree: use cache.tree to check if cache file exists (#4244)
Continuing #4050 This issue was found in #4242
This commit is contained in:
+3
-1
@@ -271,7 +271,9 @@ class BaseTree:
|
||||
if (
|
||||
hash_
|
||||
and self.is_dir_hash(hash_)
|
||||
and not tree.exists(self.cache.tree.hash_to_path_info(hash_))
|
||||
and not self.cache.tree.exists(
|
||||
self.cache.tree.hash_to_path_info(hash_)
|
||||
)
|
||||
):
|
||||
hash_ = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user