MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / flush_after_write

Method flush_after_write

atomic-core/src/output/repo/file.rs:220–223  ·  view source on GitHub ↗

Set whether to flush the writer after output. # Arguments `flush` - Whether to flush after writing # Example ```rust use atomic_core::output::repo::FileOutputOptions; let opts = FileOutputOptions::new().flush_after_write(false); assert!(!opts.flush_after_write); ```

(mut self, flush: bool)

Source from the content-addressed store, hash-verified

218 /// assert!(!opts.flush_after_write);
219 /// ```
220 pub fn flush_after_write(mut self, flush: bool) -> Self {
221 self.flush_after_write = flush;
222 self
223 }
224
225 /// Convert to retrieve options for the alive graph module.
226 fn to_retrieve_options(self) -> RetrieveOptions {

Calls

no outgoing calls

Tested by 3

test_options_chainingFunction · 0.64