(subdir: str = '.')
| 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()]) |
| 1243 | if config.cache and config.cache.home: |
| 1244 | paths.add(config.cache.home) |
| 1245 | return [(Path(p) / subdir).resolve() for p in paths] |
| 1246 | |
| 1247 | return { |
| 1248 | # used for solvers, regions |
no test coverage detected