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

Method resolve_registry_module_source

src/compilation_pipeline.rs:379–386  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

377
378 fn resolve_module_source(
379 &self,
380 path: &str,
381 base_source_path: Option<&Path>,
382 ) -> Result<Option<ResolvedModuleSource>, String> {
383 if Self::is_filesystem_import(path) {
384 let raw_path = Path::new(path);
385 let candidate = if raw_path.is_absolute() {
386 raw_path.to_path_buf()
387 } else {
388 let base_dir = base_source_path
389 .and_then(Path::parent)

Callers 1

resolve_module_sourceMethod · 0.80

Calls 1

Tested by

no test coverage detected