MCPcopy Create free account
hub / github.com/AI45Lab/Code / local_path_for_read

Method local_path_for_read

core/src/workspace/local.rs:49–51  ·  view source on GitHub ↗
(&self, path: &WorkspacePath)

Source from the content-addressed store, hash-verified

47 }
48
49 fn local_path_for_read(&self, path: &WorkspacePath) -> Result<PathBuf> {
50 a3s_common::tools::resolve_path(&self.root, path.as_str()).map_err(|e| anyhow!("{}", e))
51 }
52
53 fn local_path_for_write(&self, path: &WorkspacePath) -> Result<PathBuf> {
54 let target = if path.is_root() {

Callers 4

read_textMethod · 0.80
list_dirMethod · 0.80
globMethod · 0.80
grepMethod · 0.80

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected