MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / load_plugins

Method load_plugins

flow-rs/src/lib.rs:86–89  ·  view source on GitHub ↗
(self, cfg: loader::LoaderConfig)

Source from the content-addressed store, hash-verified

84 }
85
86 pub fn load_plugins(self, cfg: loader::LoaderConfig) -> Self {
87 loader::load(self.local_key, &cfg).unwrap();
88 self
89 }
90
91 pub fn template_file<P: AsRef<Path>>(mut self, path: P) -> Result<Self> {
92 self.template = std::fs::read_to_string(path.as_ref())?;

Callers 1

newMethod · 0.80

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected