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

Method to_core_options

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

Source from the content-addressed store, hash-verified

425 /// Convert to core recording options.
426 #[must_use]
427 pub fn to_core_options(&self) -> CoreRecordingOptions {
428 CoreRecordingOptions::new()
429 .algorithm(self.algorithm)
430 .default_encoding(self.default_encoding)
431 .max_file_size(self.max_file_size as usize)
432 .skip_binary(self.skip_binary)
433 .record_empty_files(self.record_empty_files)
434 .context_lines(self.context_lines)
435 }
436
437 /// Convert to assembly options.
438 #[must_use]

Callers 1

recordMethod · 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