mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 15:28:27 +01:00
cache: use get_file_hash instead of get_hash (#4514)
This is what we've been doing before. No need to try to pull it up from the state db, as this is a clearly newly generated file that will get deleted.
This commit is contained in:
Vendored
+1
-1
@@ -273,7 +273,7 @@ class CloudCache:
|
||||
to_info = self.tree.path_info / tmp_fname("")
|
||||
self.tree.upload(from_info, to_info, no_progress_bar=True)
|
||||
|
||||
hash_info = self.tree.get_hash(to_info)
|
||||
hash_info = self.tree.get_file_hash(to_info)
|
||||
hash_info.value += self.tree.CHECKSUM_DIR_SUFFIX
|
||||
hash_info.dir_info = dir_info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user