Skip to main content

write_compilation_artifacts_to_filesystem_paths

Function write_compilation_artifacts_to_filesystem_paths 

Source
pub fn write_compilation_artifacts_to_filesystem_paths(
    result: &CompilationResult,
    destination: impl AsRef<Path>,
    relative_paths: &[PathBuf],
    policy: FilesystemMergePolicy,
) -> Result<CompilationArtifactWriteReceipt, CompilationArtifactPathWriteError>
Expand description

Writes a succeeded Compilation Result through caller-selected destination-relative filesystem paths.

This concrete adapter supports platform paths used by CLI output templates while consuming artifact roles, canonical order, and exact bytes directly from the Compilation Result.