pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

Repository.status() parsing

Open csm10495 opened this issue 4 years ago • 1 comments

Is there a built-in utility to coerce a value from .status() into a string of flags by name?

If not is this something that could be PR'd?

csm10495 avatar Jan 21 '22 05:01 csm10495

Could we change status() to give an IntFlag instead of raw int? That would be nice, but may not be fully backwards compatible.

csm10495 avatar Jan 21 '22 06:01 csm10495