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

Function command_complete

src/protocol/tests.rs:159–163  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

157 }
158
159 pub fn command_complete(text: &str) -> Vec<u8> {
160 let mut list = BufferList::new();
161 list.add_cstring(text);
162 list.join(true, Some(b'C'))
163 }
164
165 pub fn row_description(fields: &[Field]) -> Vec<u8> {
166 let mut list = BufferList::new();

Calls 2

add_cstringMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected