pub fn cache_path(layout: &RepoLayout, tree_hash: &Hash) -> PathBufExpand description
Compute <common dir>/sparse/<tree-hex>.bitmap. The directory may
not exist yet; store creates it on demand. Common-dir state:
the cache is keyed by tree hash, so it is shared across worktrees.