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

Method flush_after_write

atomic-core/src/output/repo/file.rs:222–225  ·  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

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

Calls

no outgoing calls

Tested by 3

test_options_chainingFunction · 0.64