Lines Matching refs:auto_cache_dir
149 def handle_auto_cache(self, blob, auto_cache_dir) -> Path: argument
157 cached_blob = self.get_cached_blob(blob, [auto_cache_dir])
162 self.download_blob(blob, auto_cache_dir / f'{name}.{sha256}')
163 cached_blob = self.get_cached_blob(blob, [auto_cache_dir])
217 auto_cache_dir = args.auto_cache
221 if auto_cache_dir is None:
222 auto_cache_dir = self.config.get('blobs.auto-cache')
225 if auto_cache_dir is not None:
226 auto_cache_dir = Path(auto_cache_dir).expanduser()
234 if not cached_blob and auto_cache_dir:
235 cached_blob = self.handle_auto_cache(blob, auto_cache_dir)