Currently, the only way to inspect executable bit is to filter header.mode() through an executable bitmask (S_IXUSR = 64). This makes the code overly verbose and hard to understand.
It would be more convenient to add is_executable method to the header type or entry type.
Currently, the only way to inspect executable bit is to filter
header.mode()
through an executable bitmask (S_IXUSR = 64
). This makes the code overly verbose and hard to understand.It would be more convenient to add
is_executable
method to the header type or entry type.