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

Method to_assembly_options

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

Source from the content-addressed store, hash-verified

417 /// Convert to assembly options.
418 #[must_use]
419 pub fn to_assembly_options(&self) -> AssemblyOptions {
420 AssemblyOptions::new()
421 .include_empty_files(self.record_empty_files)
422 .globalize_options(
423 GlobalizeOptions::new()
424 .with_include_empty_files(self.record_empty_files)
425 .with_default_encoding(self.default_encoding),
426 )
427 .provenance(self.provenance.clone())
428 .metadata_bytes(self.metadata_bytes.clone())
429 }
430}
431
432impl Default for RecordOptions {

Callers 2

recordMethod · 0.80

Calls 7

globalize_optionsMethod · 0.80
metadata_bytesMethod · 0.45
provenanceMethod · 0.45
include_empty_filesMethod · 0.45
with_default_encodingMethod · 0.45
cloneMethod · 0.45