Skip to main content

write_part

Function write_part 

Source
pub fn write_part(
    store: &Path,
    bundles: &[&BundleWrite],
) -> Result<(PathBuf, String)>
Available on crate feature encoder only.
Expand description

The partial group document over the bundles one build wrote into store, in manifest order: group_document over them alone, at part_path of the first. Returns its path and its CRC-32, which the build’s entries carry until the reference’s finalize_store writes the store’s group document from the parts.

The part is parsed back as every bundle’s view of a profile-2 group, the decoder’s own check (zarr::parse_group_metadata_for), so a part the readers would refuse once merged never leaves the encoder.