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

Method to_assembly_options

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

Source from the content-addressed store, hash-verified

396 /// Convert to assembly options.
397 #[must_use]
398 pub fn to_assembly_options(&self) -> AssemblyOptions {
399 AssemblyOptions::new()
400 .include_empty_files(self.record_empty_files)
401 .globalize_options(
402 GlobalizeOptions::new()
403 .with_include_empty_files(self.record_empty_files)
404 .with_default_encoding(self.default_encoding),
405 )
406 .provenance(self.provenance.clone())
407 .metadata_bytes(self.metadata_bytes.clone())
408 }
409}
410
411impl 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