MCPcopy Create free account
hub / github.com/libgit2/pygit2 / listall_references

Method listall_references

pygit2/repository.py:359–361  ·  view source on GitHub ↗

Return a list with all the references in the repository.

(self)

Source from the content-addressed store, hash-verified

357 return self.create_reference_symbolic(name, target, force, message=message)
358
359 def listall_references(self) -> list[str]:
360 """Return a list with all the references in the repository."""
361 return list(x.name for x in self.references.iterator())
362
363 def listall_reference_objects(self) -> list[Reference]:
364 """Return a list with all the reference objects in the repository."""

Callers 5

test_list_all_referencesFunction · 0.80
test_deleteFunction · 0.80
test_create_referenceFunction · 0.80

Calls 1

iteratorMethod · 0.80

Tested by 5

test_list_all_referencesFunction · 0.64
test_deleteFunction · 0.64
test_create_referenceFunction · 0.64