MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / into_stripped

Method into_stripped

dstack-attest/src/v1.rs:40–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 }
39
40 pub fn into_stripped(self) -> Self {
41 match self {
42 Self::Tdx { quote, event_log } => Self::Tdx {
43 quote,
44 event_log: event_log
45 .into_iter()
46 .filter(|event| event.imr == 3)
47 .map(|event| event.stripped())
48 .collect(),
49 },
50 other => other,
51 }
52 }
53}
54
55#[derive(Debug, Clone, Serialize, Deserialize)]

Callers 1

into_cert_paramsMethod · 0.45

Calls 2

into_iterMethod · 0.80
strippedMethod · 0.80

Tested by

no test coverage detected