Skip to content

VaultMD / ReconcileResult

Type Alias: ReconcileResult

ReconcileResult = object

Defined in: src/note-index/models/reconcile-result.ts:9

What a reconcile sweep changed in the index. Every field holds sorted vault-relative paths, and all three are empty when nothing has changed. This is the watcher-free change feed: out-of-band edits (an editor, git checkout, a sync client) never fire onCommit, so polling this result is how a consumer learns about them. Background sweeps buffer their findings rather than consuming them, so what a caller drains covers everything since its last call.

Properties

added

added: string[]

Defined in: src/note-index/models/reconcile-result.ts:11

Paths indexed for the first time — no row existed before the sweep.


removed

removed: string[]

Defined in: src/note-index/models/reconcile-result.ts:15

Paths dropped from the index because the file is gone from disk.


updated

updated: string[]

Defined in: src/note-index/models/reconcile-result.ts:13

Paths re-indexed because their (mtime, size) signature had changed.