MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get

Method get

atomic-repository/src/git_binding/pack.rs:398–400  ·  view source on GitHub ↗

The quarantined change for `hash`, if the pack carries it.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

396
397 /// The quarantined change for `hash`, if the pack carries it.
398 pub fn get(&self, hash: &Hash) -> Option<&Change> {
399 self.changes.get(hash)
400 }
401
402 /// How many changes the pack carries.
403 pub fn len(&self) -> usize {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected