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

Method object_exists

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

Source from the content-addressed store, hash-verified

238 }
239
240 pub fn object_exists(&self, id: &ExternalId) -> Result<bool> {
241 let filename = id.object_filename()?;
242 self.blob_exists(&filename)
243 }
244
245 pub fn stats(&self) -> Result<RepoStats> {
246 log::info!("computing stats for view {:?}", self);

Callers 1

existsMethod · 0.80

Calls 2

object_filenameMethod · 0.80
blob_existsMethod · 0.80

Tested by

no test coverage detected