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

Method query

src/protocol/serializer.rs:157–161  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

155 }
156
157 pub fn query(text: &str) -> Vec<u8> {
158 let mut writer = BufferWriter::default();
159 writer.add_cstring(text);
160 writer.flush(Some(CODE_QUERY))
161 }
162
163 pub fn parse(name: Option<&str>, text: &str, types: &[i32]) -> Vec<u8> {
164 if let Some(name) = name

Callers

nothing calls this directly

Calls 2

add_cstringMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected