MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / import_interface_path

Method import_interface_path

crates/wit-bindgen/src/lib.rs:1459–1464  ·  view source on GitHub ↗
(&self, id: &InterfaceId)

Source from the content-addressed store, hash-verified

1457 }
1458
1459 fn import_interface_path(&self, id: &InterfaceId) -> String {
1460 match &self.interface_names[id] {
1461 InterfaceName::Path(path) => path.join("::"),
1462 InterfaceName::Remapped { name_at_root, .. } => name_at_root.clone(),
1463 }
1464 }
1465
1466 fn import_interface_all_func_flags(&self, id: InterfaceId) -> FunctionFlags {
1467 self.import_interfaces[&id].all_func_flags

Callers 2

import_interfaceMethod · 0.80

Calls 2

joinMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected