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

Method max_vertices

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

Set the maximum number of vertices to process. # Arguments `max` - Maximum span count # Example ```rust use atomic_core::output::repo::FileOutputOptions; let opts = FileOutputOptions::new().max_vertices(5000); assert_eq!(opts.max_vertices, Some(5000)); ```

(mut self, max: usize)

Source from the content-addressed store, hash-verified

201 /// assert_eq!(opts.max_vertices, Some(5000));
202 /// ```
203 pub fn max_vertices(mut self, max: usize) -> Self {
204 self.max_vertices = Some(max);
205 self
206 }
207
208 /// Set whether to flush the writer after output.
209 ///

Callers 7

to_retrieve_optionsMethod · 0.45
test_options_chainingFunction · 0.45
test_options_cloneFunction · 0.45
to_file_optionsMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_options_chainingFunction · 0.36
test_options_cloneFunction · 0.36