MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / sync

Method sync

src/tracedecay/indexing.rs:378–380  ·  view source on GitHub ↗

Performs an incremental sync: detects changed, new, and removed files and re-indexes only those that need updating.

(&self)

Source from the content-addressed store, hash-verified

376 /// Performs an incremental sync: detects changed, new, and removed files
377 /// and re-indexes only those that need updating.
378 pub async fn sync(&self) -> Result<SyncResult> {
379 self.sync_with_progress(|_, _, _| {}).await
380 }
381
382 /// Like `sync()`, but calls `on_progress` for spinner updates.
383 /// Equivalent to `sync_with_progress_verbose(on_progress, |_| {})`.

Calls 1

sync_with_progressMethod · 0.80