MCPcopy Create free account
hub / github.com/amethyst/distill / export_source

Method export_source

daemon/src/source_pair_import.rs:559–614  ·  view source on GitHub ↗

Write the given serialized asset to disk, returns an updated PairImportResult (i.e. hash will match the exported data). This has the side effect of updating our own state (i.e. self.import_hash, self.source_metadata, self.result_metadata, etc.)

(
        &mut self,
        scratch_buf: &mut Vec<u8>,
        assets: Vec<SerializedAsset<Vec<u8>>>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

export_pairFunction · 0.45

Calls 4

export_boxedMethod · 0.80
hash_sourceMethod · 0.80
build_import_resultMethod · 0.80
scopeMethod · 0.45

Tested by

no test coverage detected