Skip to main content

build_cache_path

Function build_cache_path 

Source
pub fn build_cache_path() -> Option<PathBuf>
Expand description

The build cache segment, cache/1: one container holding every payload, expansion, and baked thumbnail a cook produced, indexed by producer and key. A build writes this file and no other, so a cook running against a live application never shares a file with the segment that application writes.

Resolves against the content root rather than the writable one: a build writes the data/ beside it, so a tree it cannot write is a tree it cannot cook into either.

Deletable at any time; whatever is missing is recompiled.