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

Method add_string

src/protocol/tests.rs:43–46  ·  view source on GitHub ↗
(&mut self, value: &str)

Source from the content-addressed store, hash-verified

41 }
42
43 pub fn add_string(&mut self, value: &str) -> &mut Self {
44 self.buffers.push(value.as_bytes().to_vec());
45 self
46 }
47
48 pub fn add_char(&mut self, ch: char) -> &mut Self {
49 assert!(

Callers 6

bindMethod · 0.45

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected