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

Function classify_project_storage

src/global.rs:37–47  ·  view source on GitHub ↗
(project_root: &Path)

Source from the content-addressed store, hash-verified

35}
36
37pub(crate) fn classify_project_storage(project_root: &Path) -> ProjectStorageLocation {
38 match tracedecay::storage::resolve_layout_for_current_profile(project_root) {
39 Ok(layout) => classify_layout_storage(project_root, layout),
40 Err(_) => ProjectStorageLocation {
41 project_root: project_root.to_path_buf(),
42 data_root: tracedecay::config::get_tracedecay_dir(project_root),
43 marker_root: None,
44 status: ProjectStorageStatus::Stale,
45 },
46 }
47}
48
49pub(crate) async fn classify_project_storage_with_registry(
50 project_root: &Path,

Calls 3

classify_layout_storageFunction · 0.85
get_tracedecay_dirFunction · 0.85

Tested by

no test coverage detected