MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / run_system

Method run_system

crates/cargo-lambda-cli/src/main.rs:216–229  ·  view source on GitHub ↗
(
        system: System,
        global: Option<PathBuf>,
        context: Option<String>,
        admerge: bool,
    )

Source from the content-addressed store, hash-verified

214 }
215
216 async fn run_system(
217 system: System,
218 global: Option<PathBuf>,
219 context: Option<String>,
220 admerge: bool,
221 ) -> Result<()> {
222 let options = ConfigOptions {
223 names: FunctionNames::new(system.pkg_name(), None),
224 global,
225 context,
226 admerge,
227 };
228 cargo_lambda_system::run(&system, &options).await
229 }
230}
231
232fn print_version() -> Result<()> {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
runFunction · 0.50
pkg_nameMethod · 0.45

Tested by

no test coverage detected