MCPcopy Create free account
hub / github.com/c4pt0r/pie / default_export_path

Function default_export_path

crates/coding-agent/src/export.rs:99–101  ·  view source on GitHub ↗
(session_id: &str)

Source from the content-addressed store, hash-verified

97}
98
99pub fn default_export_path(session_id: &str) -> PathBuf {
100 base_dir().join("exports").join(format!("{session_id}.md"))
101}
102
103pub async fn save(session: &Session, dest: &Path) -> Result<PathBuf> {
104 if let Some(parent) = dest.parent() {

Callers 3

run_session_cli_commandFunction · 0.70
runMethod · 0.70
session_export_commandFunction · 0.70

Calls 1

base_dirFunction · 0.85

Tested by

no test coverage detected