def get_info(self):
info = {<EOL>"<STR_LIT:name>":     self.name,<EOL>"<STR_LIT>":     self.mode & <NUM_LIT>,<EOL>"<STR_LIT>":      self.uid,<EOL>"<STR_LIT>":      self.gid,<EOL>"<STR_LIT:size>":     self.size,<EOL>"<STR_LIT>":    self.mtime,<EOL>"<STR_LIT>":   self.chksum,<EOL>"<STR_LIT:type>":     self.type,<EOL>"<STR_LIT>": self.linkname,<EOL>"<STR_LIT>":    self.uname,<EOL>"<STR_LIT>":    self.gname,<EOL>"<STR_LIT>": self.devmajor,<EOL>"<STR_LIT>": self.devminor<EOL>}<EOL>if info["<STR_LIT:type>"] == DIRTYPE and not info["<STR_LIT:name>"].endswith("<STR_LIT:/>"):<EOL><INDENT>info["<STR_LIT:name>"] += "<STR_LIT:/>"<EOL><DEDENT>return info<EOL>
Return the TarInfo's attributes as a dictionary.