Skip to main content

run_update

Function run_update 

Source
pub fn run_update(
    cli: &Cli,
    path: &str,
    threads: Option<usize>,
    show_stats: bool,
    _no_incremental: bool,
    _cache_dir: Option<&str>,
) -> Result<()>
Expand description

Run index update command

§Arguments

  • cli - CLI configuration (for validation flags)
  • path - Directory with existing index
  • show_stats - Show detailed statistics

§Errors

Returns an error if the index cannot be loaded, updated, or validated.