Skip to main content

default_cache_path

Function default_cache_path 

Source
pub fn default_cache_path(root: &Path) -> Option<PathBuf>
Expand description

The conventional snapshot location for a root.

Snapshots are keyed by a hash of the canonical root path under the user cache directory, so two roots never collide and a moved tree simply misses rather than reading another tree’s data.