Skip to main content

artifacts

Function artifacts 

Source
pub fn artifacts(root: &Path) -> Result<Vec<(PathBuf, String)>, String>
Expand description

Every artifact rendered from this table, as (path, full contents), relative to the repository root.

Returned rather than written so the generator and the staleness test share one definition of what exists — a test that enumerated the artifacts separately would pass while missing a new one.

§Errors

A file that should carry generated markers and does not, or cannot be read.