Skip to main content

cache_path

Function cache_path 

pub fn cache_path(key: &[u8; 32], repo_path: &Path) -> PathBuf
Expand description

Resolve the on-disk path for a cache entry: <cache_root>/codelore/<repo_hash_8>/<cache_key_16>.duckdb

cache_root defaults to dirs::cache_dir() but can be overridden via --cache-dir.