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

Function fallback_branch_data_root

src/commands.rs:682–686  ·  view source on GitHub ↗
(project_path: &Path)

Source from the content-addressed store, hash-verified

680}
681
682fn fallback_branch_data_root(project_path: &Path) -> PathBuf {
683 tracedecay::storage::resolve_layout_for_current_profile(project_path)
684 .map(|layout| layout.data_root)
685 .unwrap_or_else(|_| tracedecay::config::get_tracedecay_dir(project_path))
686}
687
688/// Handles the `wipe` and `wipe --all` commands.
689pub(crate) async fn handle_wipe(all: bool) -> tracedecay::errors::Result<()> {

Callers 2

handle_branch_actionFunction · 0.85
resolve_branch_data_rootFunction · 0.85

Calls 2

get_tracedecay_dirFunction · 0.85

Tested by

no test coverage detected