code: def stat(self, pathobj):
          
          jsn = self.get_stat_json(pathobj)
  
          is_dir = False
          if 'size' not in jsn:
              is_dir = True
  
          children = None
          if 'children' in jsn:
              children = [child['uri'][1:] for child in jsn['children']]
  
          stat = ArtifactoryFileStat(
              ctime=dateutil.parser.parse(jsn['created']),
              mtime=dateutil.parser.parse(jsn['lastModified']),
              created_by=jsn.get('createdBy', None),
              modified_by=jsn.get('modifiedBy', None),
              mime_type=jsn.get('mimeType', None),
              size=int(jsn.get('size', '0')),
              sha1=jsn.get('checksums', {'sha1': None})['sha1'],
              md5=jsn.get('checksums', {'md5': None})['md5'],
              is_dir=is_dir,
              children=children)
  
          return stat
docs: Request remote file/directory status info
          Returns an object of class ArtifactoryFileStat.
  
          The following fields are available:
            ctime -- file creation time
            mtime -- file modification time
            created_by -- original uploader
            modified_by -- last user modifying the file
            mime_type -- MIME type of the file
            size -- file size
            sha1 -- SHA1 digest of the file
            md5 -- MD5 digest of the file
            is_dir -- 'True' if path is a directory
            children -- list of children names