Skip to content

Commit

Permalink
add pygit_status_codes.py helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Mar 28, 2024
1 parent c3e96a1 commit 703084b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pygit2_status_codes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import pygit2

for entry in dir(pygit2):
if entry.startswith('GIT_'):
enum_val = getattr(pygit2, entry)
print(entry + ': ' + str(enum_val))

0 comments on commit 703084b

Please sign in to comment.