MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / _existing

Function _existing

dwave/cloud/cli.py:1238–1239  ·  view source on GitHub ↗
(paths: list[Path])

Source from the content-addressed store, hash-verified

1236 return dict(path=path) | _stats(cache)
1237
1238 def _existing(paths: list[Path]) -> list[Path]:
1239 return [p for p in paths if p.exists()]
1240
1241 def _path_candidates(subdir: str = '.') -> list[Path]:
1242 paths = set([get_cache_dir()])

Callers 1

_get_cache_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected