Skip to main content

refresh

Function refresh 

Source
pub fn refresh(
    store: &Store,
    raw_path: &str,
    raw_wrapper: &str,
) -> Result<RefreshReport>
Expand description

Re-hash one asset and write just its canonical manifest record.

scan remains the authoritative from-scratch projection. This bounded operation exists for write-through workflows that just created or changed one asset. The supplied wrapper must currently declare the exact path. Existing wrappers recorded for that path are re-read and stale declarations are dropped; unrelated manifest rows and asset bytes are never walked.