MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / get_project_db_path

Function get_project_db_path

src/config.rs:344–346  ·  view source on GitHub ↗

Full path to the repo-local graph database marker path. Normal runtime graph storage resolves through `crate::storage::StoreLayout` into the user profile shard; this helper is only for explicit marker checks and migration cleanup.

(project_root: &Path)

Source from the content-addressed store, hash-verified

342/// into the user profile shard; this helper is only for explicit marker checks
343/// and migration cleanup.
344pub fn get_project_db_path(project_root: &Path) -> PathBuf {
345 get_tracedecay_dir(project_root).join(DB_FILENAME)
346}
347
348/// Returns true when the old repo-local `TraceDecay` graph DB exists at this root.
349pub fn has_project_database(project_root: &Path) -> bool {

Callers 1

write_project_markerFunction · 0.85

Calls 1

get_tracedecay_dirFunction · 0.85

Tested by

no test coverage detected