MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / path_to_resource

Method path_to_resource

crates/rust/src/interface.rs:2558–2560  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2556 }
2557
2558 pub fn path_to_resource(&mut self) -> String {
2559 self.path_from_runtime_module(RuntimeItem::ResourceType, "Resource")
2560 }
2561
2562 fn path_to_wasm_resource(&mut self) -> String {
2563 self.path_from_runtime_module(RuntimeItem::ResourceType, "WasmResource")

Callers 1

type_resourceMethod · 0.80

Calls 1

Tested by

no test coverage detected