MCPcopy Index your code
hub / github.com/emwalker/digraph / commit

Method commit

backend/src/git/core/mod.rs:93–95  ·  view source on GitHub ↗
(&self, oid: git2::Oid)

Source from the content-addressed store, hash-verified

91 }
92
93 pub fn commit(&self, oid: git2::Oid) -> Result<git2::Commit<'_>> {
94 Ok(self.inner.find_commit(oid)?)
95 }
96
97 pub fn commit_oid(&self, _timespec: &Timespec) -> Result<git2::Oid> {
98 let reference = self.inner.find_reference("HEAD")?;

Callers 5

callMethod · 0.80
initMethod · 0.80
find_blob_by_filenameMethod · 0.80
statsMethod · 0.80
writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected