new_temp_composefs_repo

Function new_temp_composefs_repo 

Source
pub(crate) fn new_temp_composefs_repo() -> Result<(TempDir, Arc<Repository<Sha512HashValue>>)>
Expand description

Creates a temporary composefs repository for computing digests.

Returns the TempDir guard (must be kept alive for the repo to remain valid) and the repository wrapped in Arc.