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

Method to_retrieve_options

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

Convert to retrieve options for the alive graph module.

(self)

Source from the content-addressed store, hash-verified

226
227 /// Convert to retrieve options for the alive graph module.
228 fn to_retrieve_options(self) -> RetrieveOptions {
229 let mut opts = RetrieveOptions::default();
230 if self.include_deleted {
231 opts = opts.include_deleted(true);
232 }
233 if let Some(max) = self.max_vertices {
234 opts = opts.max_vertices(max);
235 }
236 opts
237 }
238}
239
240impl Default for FileOutputOptions {

Calls 2

include_deletedMethod · 0.45
max_verticesMethod · 0.45