MCPcopy Index your code
hub / github.com/endbasic/endbasic / sync_now

Method sync_now

terminal/src/lib.rs:430–432  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

428 }
429
430 fn sync_now(&mut self) -> io::Result<()> {
431 if self.sync_enabled { Ok(()) } else { io::stdout().flush() }
432 }
433
434 fn set_sync(&mut self, enabled: bool) -> io::Result<bool> {
435 if !self.sync_enabled {

Callers

nothing calls this directly

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected