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

Method to_core_options

atomic-repository/src/record/options.rs:513–521  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

511 /// Convert to core recording options.
512 #[must_use]
513 pub fn to_core_options(&self) -> CoreRecordingOptions {
514 CoreRecordingOptions::new()
515 .algorithm(self.algorithm)
516 .default_encoding(self.default_encoding)
517 .max_file_size(self.max_file_size as usize)
518 .skip_binary(self.skip_binary)
519 .record_empty_files(self.record_empty_files)
520 .context_lines(self.context_lines)
521 }
522
523 /// Convert to assembly options.
524 #[must_use]

Callers 1

record_with_lifecycleMethod · 0.80

Calls 6

context_linesMethod · 0.45
record_empty_filesMethod · 0.45
skip_binaryMethod · 0.45
max_file_sizeMethod · 0.45
default_encodingMethod · 0.45
algorithmMethod · 0.45

Tested by

no test coverage detected