MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / module_path

Method module_path

xtask/src/main.rs:7451–7457  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

7449 }
7450
7451 fn module_path(&self, name: &str) -> Result<&Path> {
7452 self.modules
7453 .iter()
7454 .find(|module| module.name == name)
7455 .map(|module| module.path.as_path())
7456 .ok_or_else(|| anyhow!("missing build output module {name}"))
7457 }
7458
7459 fn write_manifest(&self) -> Result<()> {
7460 let manifest = BuildOutputManifestOut {

Callers 2

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected