MCPcopy Create free account
hub / github.com/emwalker/digraph / find_blob

Method find_blob

backend/src/git/core/mod.rs:220–222  ·  view source on GitHub ↗
(&self, id: &ExternalId)

Source from the content-addressed store, hash-verified

218 }
219
220 fn find_blob(&self, id: &ExternalId) -> Result<Option<git2::Blob<'_>>> {
221 self.find_blob_by_filename(&id.object_filename()?)
222 }
223
224 pub fn link(&self, id: &ExternalId) -> Result<Option<RepoLink>> {
225 let link = match self.find_blob(id)? {

Callers 5

find_blob_by_filenameMethod · 0.80
linkMethod · 0.80
objectMethod · 0.80
statsMethod · 0.80
topicMethod · 0.80

Calls 2

find_blob_by_filenameMethod · 0.80
object_filenameMethod · 0.80

Tested by

no test coverage detected