| 282 | return self.transfer(self.repo.cache.legacy, dest_odb) |
| 283 | |
| 284 | def pull(self, remote: Optional[str], odb: Optional["ObjectDB"] = None): |
| 285 | try: |
| 286 | odb = odb or self.repo.cloud.get_remote_odb( |
| 287 | remote, "fetch --run-cache", hash_name="md5-dos2unix" |
| 288 | ) |
| 289 | except RemoteConfigError as e: |
| 290 | raise RunCacheNotSupported(e) from e |
| 291 | return self.transfer(odb, self.repo.cache.legacy) |
| 292 | |
| 293 | def get_used_objs(self, used_run_cache, *args, **kwargs): |
| 294 | """Return used cache for the specified run-cached stages.""" |