code: def int_to_ef(n):
      
  
      flags = {}
      for name, value in libarchive.constants.archive_entry.FILETYPES.items():
          flags[name] = (n & value) > 0
  
      return ENTRY_FILETYPE(**flags)
docs: This is here for testing support but, in practice, this isn't very
      useful as many of the flags are just combinations of other flags. The
      relationships are defined by the OS in ways that aren't semantically
      intuitive to this project.