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

Function programs_module_resolver

src/compilation_pipeline.rs:1351–1353  ·  view source on GitHub ↗

Default module resolver over bundled `os-runtime` sources.

(name: &str)

Source from the content-addressed store, hash-verified

1349fn programs_key(path: &Path) -> Option<String> {
1350 let mut parts: Vec<String> = Vec::new();
1351 let mut found = false;
1352 for component in path.components() {
1353 if let std::path::Component::Normal(part) = component {
1354 if !found && part == "programs" {
1355 found = true;
1356 }

Callers

nothing calls this directly

Calls 1

bundled_module_sourceFunction · 0.70

Tested by

no test coverage detected