DBDirectoryIndexer

class of dascore.io.index.indexer source

DBDirectoryIndexer(
    path ,
    index_path = None,
)

Index a directory of fiber files with a database backend.

Parameters

Parameter Description
path The directory to index.
index_path Where to keep the index; defaults to a hidden entry at the top of
the data directory.

Methods

Name Description
close Close the backend.
ensure_updated Run the initial update if the index was never populated.
update Update the index: scan new/changed sources, drop removed ones.