Skip to main content

Module db

Module db 

Source

Functions§

calculate_confidence
hydrate_starter_if_empty
If no usable DB exists yet (fresh install, before cmdh update), seed it from the embedded starter DB so the very first cmdh search returns results offline. Never overwrites a populated DB (e.g. after cmdh update). Call before open_db.
init_db
open_db
resolve_db_path
search_all
search_cascading
search_commands