Bytes the parser will hash for `spec` when verifying `#sha256-...`. */
(self, spec: &str, bytes: Vec<u8>)
| 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 { |
no test coverage detected