split

Function split 

Source
pub fn split(
    tar_stream: &mut impl Read,
    writer: &mut SplitStreamWriter<impl FsVerityHashValue>,
) -> Result<()>
Expand description

Splits the tar file from tar_stream into a Split Stream. The store_data function is responsible for ensuring that “external data” is in the composefs repository and returns the fsverity hash value of that data.