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

Method has_git_sha

atomic-core/src/pristine/txn/read.rs:3101–3103  ·  view source on GitHub ↗
(&self, sha: &str)

Source from the content-addressed store, hash-verified

3099 }
3100
3101 fn has_git_sha(&self, sha: &str) -> PristineResult<bool> {
3102 Ok(self.get_by_git_sha(sha)?.is_some())
3103 }
3104
3105 fn list_git_shas(&self) -> PristineResult<Vec<String>> {
3106 let table = match self.txn.open_table(GIT_SHA_INDEX) {

Callers

nothing calls this directly

Calls 1

get_by_git_shaMethod · 0.45

Tested by

no test coverage detected