(
self,
objs: Iterable["HashInfo"],
*,
jobs: Optional[int] = None,
odb: "HashFileDB",
)
| 259 | return result |
| 260 | |
| 261 | def _pull( |
| 262 | self, |
| 263 | objs: Iterable["HashInfo"], |
| 264 | *, |
| 265 | jobs: Optional[int] = None, |
| 266 | odb: "HashFileDB", |
| 267 | ) -> "TransferResult": |
| 268 | from dvc.fs.callbacks import TqdmCallback |
| 269 | |
| 270 | if odb.hash_name == "md5-dos2unix": |
| 271 | cache = self.repo.cache.legacy |
| 272 | else: |
| 273 | cache = self.repo.cache.local |
| 274 | with TqdmCallback( |
| 275 | desc=f"Fetching from {odb.fs.unstrip_protocol(odb.path)}", |
| 276 | unit="file", |
| 277 | ) as cb: |
| 278 | return self.transfer( |
| 279 | odb, |
| 280 | cache, |
| 281 | objs, |
| 282 | jobs=jobs, |
| 283 | src_index=get_index(odb), |
| 284 | cache_odb=cache, |
| 285 | verify=odb.verify, |
| 286 | validate_status=self._log_missing, |
| 287 | callback=cb, |
| 288 | ) |
| 289 | |
| 290 | def status( |
| 291 | self, |
no test coverage detected