MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / peek

Method peek

compiler/src/abi.rs:153–155  ·  view source on GitHub ↗

Peeks without consuming; lets edge_take_error retry on buffer-too-small.

(&self)

Source from the content-addressed store, hash-verified

151
152 // Peeks without consuming; lets edge_take_error retry on buffer-too-small.
153 pub fn peek(&self) -> Option<(u32, &str)> {
154 self.0.as_ref().map(|(k, m)| (*k, m.as_str()))
155 }
156}
157
158/* Primitive codec helpers */

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected