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

Method with_bytes

compiler/tests/common.rs:72–75  ·  view source on GitHub ↗

Bytes the parser will hash for `spec` when verifying `#sha256-...`. */

(self, spec: &str, bytes: Vec<u8>)

Source from the content-addressed store, hash-verified

70
71 /* Bytes the parser will hash for `spec` when verifying `#sha256-...`. */
72 pub fn with_bytes(self, spec: &str, bytes: Vec<u8>) -> Self {
73 self.state.borrow_mut().bytes.insert(spec.to_string(), bytes);
74 self
75 }
76
77 /* Add an alias to the root manifest; additive, accumulates across calls. */
78 pub fn with_alias(self, name: &str, target: &str) -> Self {

Callers 1

build_resolverFunction · 0.80

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected