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

Function cli_project_root

src/analytics_bridge.rs:239–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237}
238
239fn cli_project_root() -> Option<PathBuf> {
240 std::env::current_dir()
241 .ok()
242 .and_then(|cwd| crate::config::discover_project_root(&cwd))
243}
244
245async fn open_global_db() -> crate::errors::Result<GlobalDb> {
246 GlobalDb::open().await.ok_or_else(|| {

Callers 2

run_analytics_syncFunction · 0.85

Calls 1

discover_project_rootFunction · 0.85

Tested by

no test coverage detected