Skip to main content

native_ref_snapshot

Function native_ref_snapshot 

Source
pub fn native_ref_snapshot(
    repo: &RepoRef,
    scope: &RefScope,
) -> Result<RefSnapshot>
Expand description

GitBackend::ref_snapshot and stashes over libgit2 (the contract suite holds them identical to the system git’s): the journal reads them around every recorded operation, so serving them in process saves the system backend a spawn or two per read.