update

method of dascore.io.index.indexer.DBDirectoryIndexer source

update(
    self ,
    paths = None,
    progress: Literal[‘standard’, ‘basic’, None] = standard,
)-> ‘Self’

Update the index: scan new/changed sources, drop removed ones.

Change detection compares each source’s stored (mtime_ns, size_bytes) against the filesystem — never a global watermark — and stale-source removal is folded in (the walk is the dominant cost; removal afterwards is nearly free). Directory-format scan units (e.g. XMLBinary) are rescanned whole when any member file changes. Renamed/moved sources are detected by their unchanged stats and rewritten in place, never rescanned (see _detect_moves).