Skip to main content

refresh_caches

Function refresh_caches 

Source
pub fn refresh_caches(
    project_root: &Path,
    filter: Option<&str>,
) -> Result<Vec<RefreshResult>, String>
Expand description

Probe each cached command’s entry and rewrite its cache file. filter scopes to a single command name. Returns per-cache results so the caller can print a summary.

Cargo entries that haven’t been built will surface their probe failure — the user is expected to build first, same contract as the per-command fdl <cmd> --refresh-schema flag.