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

Method var

crates/cargo-lambda-metadata/src/env.rs:122–124  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

120
121impl EnvVarExtractor for SystemEnvExtractor {
122 fn var(&self, name: &str) -> Result<String, VarError> {
123 std::env::var(name)
124 }
125}
126
127pub struct HashMapEnvExtractor {

Callers 1

discover_filesFunction · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected