Skip to main content

OidHashMap

Type Alias OidHashMap 

Source
pub type OidHashMap<V> = HashMap<ObjectId, V, OidBuildHasher>;
Expand description

HashMap keyed by ObjectId with OidBuildHasher (hashbrown table).

Aliased Type§

pub struct OidHashMap<V> { /* private fields */ }

Trait Implementations§

Source§

impl CommitReuse for OidHashMap<CommitData>

Source§

fn take_commit(&mut self, oid: &ObjectId) -> Option<Result<CommitData>>

Remove the commit oid from this source and return it parsed, or None when the source does not hold it. Read more