MCPcopy 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)]
45struct Data {
46 env: Vec<Pair>,
47}
48
49pub fn parse_env(env_json: &[u8], allowed: &BTreeSet<String>) -> Result<BTreeMap<String, String>> {
50 const MAX_ITEMS: usize = 1024;

Callers 2

to_jsonFunction · 0.85
pingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected