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

Function transcript_location_path

src/sessions/kiro.rs:299–305  ·  view source on GitHub ↗
(path: &Path, workspace_storage_dir: &Path)

Source from the content-addressed store, hash-verified

297}
298
299fn transcript_location_path(path: &Path, workspace_storage_dir: &Path) -> Option<PathBuf> {
300 if let Some(workspace) = workspace_from_sessions_path(path) {
301 return Some(workspace);
302 }
303 let hash = workspace_hash_from_path(path)?;
304 workspace_path_from_hash(workspace_storage_dir, &hash)
305}
306
307fn workspace_from_sessions_path(path: &Path) -> Option<PathBuf> {
308 let components = path.components().collect::<Vec<_>>();

Callers 1

parse_newMethod · 0.85

Calls 3

workspace_hash_from_pathFunction · 0.85
workspace_path_from_hashFunction · 0.85

Tested by

no test coverage detected