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

Function cmd_extend

dstack-util/src/main.rs:225–228  ·  view source on GitHub ↗
(extend_args: ExtendArgs)

Source from the content-addressed store, hash-verified

223}
224
225fn cmd_extend(extend_args: ExtendArgs) -> Result<()> {
226 let payload = hex_decode(&extend_args.payload).context("Failed to decode payload")?;
227 emit_runtime_event(&extend_args.event, &payload).context("Failed to extend RTMR")
228}
229
230fn cmd_rand(rand_args: RandArgs) -> Result<()> {
231 let mut data = vec![0u8; rand_args.bytes];

Callers 1

mainFunction · 0.85

Calls 2

hex_decodeFunction · 0.85
emit_runtime_eventFunction · 0.85

Tested by

no test coverage detected