Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cargo-lambda/cargo-lambda
/ write_env_var
Method
write_env_var
crates/cargo-lambda-cli/src/main.rs:82–86 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
80
}
81
82
fn write_env_var(&self) {
83
unsafe {
84
std::env::set_var(
"CARGO_LAMBDA_COLOR"
, self.to_lowercase());
85
}
86
}
87
88
fn to_lowercase(&self) -> String {
89
self.to_string().to_lowercase()
Callers
1
main
Function · 0.80
Calls
1
to_lowercase
Method · 0.80
Tested by
no test coverage detected