MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / resolve_path

Method resolve_path

src/storage.rs:354–357  ·  view source on GitHub ↗
(&self, relative_path: &str)

Source from the content-addressed store, hash-verified

352
353 #[cfg(not(target_arch = "wasm32"))]
354 fn resolve_path(&self, relative_path: &str) -> Result<PathBuf, String> {
355 let normalized = normalize_relative_path(relative_path, "storage file path")?;
356 Ok(join_normalized_path(&self.root_path, &normalized))
357 }
358}
359
360#[cfg(target_os = "android")]

Callers 4

save_bytesMethod · 0.80
load_bytesMethod · 0.80
removeMethod · 0.80
exportMethod · 0.80

Calls 2

normalize_relative_pathFunction · 0.85
join_normalized_pathFunction · 0.85

Tested by

no test coverage detected