diff --git a/pygit2_status_codes.py b/pygit2_status_codes.py new file mode 100644 index 0000000..bbfb46e --- /dev/null +++ b/pygit2_status_codes.py @@ -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))