MCPcopy
hub / github.com/MinishLab/semble / _windows_cache_dir

Function _windows_cache_dir

src/semble/cache.py:35–39  ·  view source on GitHub ↗

Get the default windows cache dir.

(name: str)

Source from the content-addressed store, hash-verified

33
34
35def _windows_cache_dir(name: str) -> Path:
36 """Get the default windows cache dir."""
37 env_base = os.getenv("LOCALAPPDATA") or os.getenv("APPDATA")
38 base = Path(env_base) if env_base is not None else Path.home() / "AppData" / "Local"
39 return base / name / "Cache"
40
41
42def _macos_cache_dir(name: str) -> Path:

Callers 2

resolve_cache_folderFunction · 0.85

Calls

no outgoing calls

Tested by 1