Lines Matching refs:Path
33 from pathlib import Path
42 return Path(env)
44 …return Path(os.environ.get("LOCALAPPDATA") or Path.home() / "AppData" / "Local") / "aootest" / "Ca…
46 return Path.home() / "Library" / "Caches" / "aootest"
47 return Path(os.environ.get("XDG_CACHE_HOME") or Path.home() / ".cache") / "aootest"
52 return json.loads(Path(path or DATA / "fetch.json").read_text(encoding="utf-8"))["items"]
65 p = Path(cache or cache_dir()) / item["path"]
75 return Path(cache or cache_dir()) / it["path"] if status(it, cache) == "ok" else None
84 dirs = {(Path(cache or cache_dir()) / it["path"]).parent for it in its}
92 dest = Path(cache) / item["path"]
114 cache = Path(cache or cache_dir())