Skip to main content

refresh_files

Function refresh_files 

Source
pub fn refresh_files(
    w: &mut Db,
    repo: &Path,
    prefix: &str,
    paths: &[String],
    with_docs: bool,
) -> Result<StructureReport, CliError>
Expand description

Refresh exactly paths — those of them that are still files on disk.

The incremental counterpart of refresh_all: the caller passes the paths this sync touched, plus every file whose link lists named a path that moved or vanished. See importers_of.