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

Method get

atomic-repository/src/repository/project_tree.rs:808–810  ·  view source on GitHub ↗
(&self, oid: &GitObjectId)

Source from the content-addressed store, hash-verified

806
807impl GitObjectDatabase {
808 pub fn get(&self, oid: &GitObjectId) -> Option<&GitObject> {
809 self.objects.get(oid)
810 }
811
812 pub fn iter(&self) -> impl Iterator<Item = (&GitObjectId, &GitObject)> {
813 self.objects.iter()

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected