find

Function find 

Source
pub fn find<'cache, 'buf, Find>(
    cache: Option<&'cache Graph>,
    objects: Find,
    id: &oid,
    buf: &'buf mut Vec<u8>,
) -> Result<Either<'buf, 'cache>, Error>
where Find: Find,
Expand description

Find information about a commit by either getting it from a gix_commitgraph::Graph, if present, or a gix_object::CommitRefIter otherwise.