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

Method to_core_options

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

Source from the content-addressed store, hash-verified

384 /// Convert to core recording options.
385 #[must_use]
386 pub fn to_core_options(&self) -> CoreRecordingOptions {
387 CoreRecordingOptions::new()
388 .algorithm(self.algorithm)
389 .default_encoding(self.default_encoding)
390 .max_file_size(self.max_file_size as usize)
391 .skip_binary(self.skip_binary)
392 .record_empty_files(self.record_empty_files)
393 .context_lines(self.context_lines)
394 }
395
396 /// Convert to assembly options.
397 #[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