MCPcopy Create free account
hub / github.com/devashishdxt/cli-table / reset

Method reset

cli-table/src/buffers.rs:96–102  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

94 }
95
96 fn reset(&mut self) -> Result<()> {
97 if let Some(ref mut current_buffer) = self.current_buffer {
98 current_buffer.reset()
99 } else {
100 Ok(())
101 }
102 }
103
104 fn is_synchronous(&self) -> bool {
105 if let Some(ref buffer) = self.current_buffer {

Callers 5

print_strFunction · 0.80
print_charFunction · 0.80
pushMethod · 0.80
appendMethod · 0.80
into_vecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected