mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-02 07:18:29 +01:00
output: cache tree objects (#6301)
This commit is contained in:
@@ -827,6 +827,9 @@ class Output:
|
||||
except FileNotFoundError:
|
||||
self.repo.cloud.pull([obj], **kwargs)
|
||||
|
||||
if self.obj:
|
||||
return self.obj
|
||||
|
||||
try:
|
||||
self.obj = objects.load(self.odb, self.hash_info)
|
||||
except (FileNotFoundError, ObjectFormatError):
|
||||
|
||||
Reference in New Issue
Block a user