Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ exists
Method
exists
test/test_refdb_backend.py:46–47 ·
view source on GitHub ↗
(self, ref: str)
Source
from the content-addressed store, hash-verified
44
self.source = source
45
46
def
exists(self, ref: str) -> bool:
47
return
self.source.exists(ref)
48
49
def
lookup(self, ref: str) -> Reference:
50
return
self.source.lookup(ref)
Callers
15
rmtree
Function · 0.80
test_init_and_update
Function · 0.80
test_specified_update
Function · 0.80
test_update_instance
Function · 0.80
test_oneshot_update
Function · 0.80
test_oneshot_update_instance
Function · 0.80
test_stash_aborted_from_callbacks
Function · 0.80
test_new_repo
Function · 0.80
exists_cb
Method · 0.80
test_exists
Function · 0.80
test_nonunicode_branchname
Function · 0.80
test_refs_compress
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected