Changeset View
Changeset View
Standalone View
Standalone View
swh/fuse/cli.py
Show All 25 Lines | CACHE_HOME_DIR: Path = ( | ||||
else Path.home() / ".cache" | else Path.home() / ".cache" | ||||
) | ) | ||||
DEFAULT_CONFIG: Dict[str, Any] = { | DEFAULT_CONFIG: Dict[str, Any] = { | ||||
"cache": { | "cache": { | ||||
"metadata": {"path": CACHE_HOME_DIR / "swh/fuse/metadata.sqlite"}, | "metadata": {"path": CACHE_HOME_DIR / "swh/fuse/metadata.sqlite"}, | ||||
"blob": {"path": CACHE_HOME_DIR / "swh/fuse/blob.sqlite"}, | "blob": {"path": CACHE_HOME_DIR / "swh/fuse/blob.sqlite"}, | ||||
"history": {"path": CACHE_HOME_DIR / "swh/fuse/history.sqlite"}, | "history": {"path": CACHE_HOME_DIR / "swh/fuse/history.sqlite"}, | ||||
"direntry": {"maxsize": 128}, | |||||
}, | }, | ||||
"web-api": { | "web-api": { | ||||
"url": "https://archive.softwareheritage.org/api/1", | "url": "https://archive.softwareheritage.org/api/1", | ||||
"auth-token": None, | "auth-token": None, | ||||
}, | }, | ||||
} | } | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |