Performs an incremental sync: detects changed, new, and removed files and re-indexes only those that need updating.
(&self)
| 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, |_| {})`. |