MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / module_key

Method module_key

src/compilation_pipeline.rs:342–344  ·  view source on GitHub ↗

Resolve a module path/name to a registry key: a leading `./` and a trailing `.hll` are normalized away (`"./math.hll"` -> `"math"`), bare names pass through (`"http"`).

(path: &str)

Source from the content-addressed store, hash-verified

340 .mangle_modules
341 .then(|| self.current_module_prefix.clone())
342 .flatten(),
343 source_file: self.config_source_file(),
344 });
345
346 let mut out = match compiler.compile(source) {
347 Ok(out) => out,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected