Function tvix_store::nar::renderer::calculate_size_and_sha256
source ยท pub async fn calculate_size_and_sha256<BS, DS>(
root_node: &Node,
blob_service: BS,
directory_service: DS,
) -> Result<(u64, [u8; 32]), RenderError>
Expand description
Invoke write_nar, and return the size and sha256 digest of the produced NAR output.