Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ Data
Class
Data
dstack-util/src/parse_env_file.rs:45–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
#[derive(Debug, Clone, Deserialize)]
45
struct Data {
46
env: Vec<Pair>,
47
}
48
49
pub fn parse_env(env_json: &[u8], allowed: &BTreeSet<String>) -> Result<BTreeMap<String, String>> {
50
const MAX_ITEMS: usize = 1024;
Callers
2
to_json
Function · 0.85
ping
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected