class_docstr: Informational class which holds the details about an archive member given by a XarFile.
class_docstr_tok: ["Informational","class","which","holds","the","details","about","an","archive","member","given","by","a","XarFile","."]
code: def size(self) -> int:
      if self.arctype == "tar":
          return self._info.size
      return self._info.file_size
  
imports: import os
  import tarfile
  import zipfile
  from typing import List, Generator, Callable
  import rarfile
label_desc: Use image node_id 3 for calling the XarInfo obj's underlying member method code with example usage: obj.size() and returns: self, self