MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / cocoindex_db_path

Function cocoindex_db_path

src/cocoindex_code/settings.py:298–300  ·  view source on GitHub ↗

Return the path to the CocoIndex state database for a project.

(project_root: Path)

Source from the content-addressed store, hash-verified

296
297
298def cocoindex_db_path(project_root: Path) -> Path:
299 """Return the path to the CocoIndex state database for a project."""
300 return resolve_db_dir(project_root) / _COCOINDEX_DB_NAME
301
302
303def user_settings_dir() -> Path:

Callers 1

resetFunction · 0.85

Calls 1

resolve_db_dirFunction · 0.85

Tested by

no test coverage detected