MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / copy_fail

Method copy_fail

src/protocol/serializer.rs:304–308  ·  view source on GitHub ↗
(message: &str)

Source from the content-addressed store, hash-verified

302 }
303
304 pub fn copy_fail(message: &str) -> Vec<u8> {
305 let mut writer = BufferWriter::default();
306 writer.add_cstring(message);
307 writer.flush(Some(CODE_COPY_FAIL))
308 }
309
310 pub fn cancel(process_id: i32, secret_key: i32) -> Vec<u8> {
311 let mut buffer = vec![0u8; 16];

Callers

nothing calls this directly

Calls 2

add_cstringMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected