Skip to main content

cache_path

Function cache_path 

Source
pub fn cache_path(patterns: &[Pattern<'_>], options: AssembleOptions) -> PathBuf
Expand description

Compute the content-addressed cache path for a pattern set + options.

Returns the absolute path the cache WOULD read or write for this input, without touching the filesystem. Use load_or_compute to actually hit the cache.