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

Method decode_from_ccel_file

cc-eventlog/src/tcg.rs:302–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300 }
301
302 pub fn decode_from_ccel_file() -> Result<Self> {
303 let data = fs_err::read(CCEL_FILE).context("Failed to read CCEL")?;
304 Self::decode(&mut data.as_slice())
305 }
306
307 pub fn to_cc_event_log(&self) -> Result<Vec<TdxEvent>> {
308 self.event_logs

Callers

nothing calls this directly

Calls 1

decodeFunction · 0.85

Tested by

no test coverage detected