Skip to main content

write_bundle

Function write_bundle 

Source
pub fn write_bundle(
    config: &Config,
    label: &str,
    bytes: &[u8],
) -> Result<PathBuf, String>
Expand description

Write bundle bytes to the configured destination for label, creating the directory if needed. Returns the written path. Signer and importer share the same Config::bundle_destination resolution and the same durable write_atomic publication primitive (design §S5).