Skip to main content

module_path

Function module_path 

Source
pub fn module_path(registry_path: &Path, id: &str) -> PathBuf
Expand description

On-disk path for plugin id’s wasm module. id is reverse-DNS ([a-z0-9.-], validated at install) so {id}.wasm is always a single filename component — no path separators, no traversal.