code: def stat(self, mpath):
          
          parts = mpath.split('/')
          if len(parts) == 0:
              raise errors.MantaError("cannot stat empty manta path: %r" % mpath)
          elif len(parts) <= 3:
              raise errors.MantaError("cannot stat special manta path: %r" %
                                      mpath)
          mparent = udirname(mpath)
          name = ubasename(mpath)
          dirents = self.ls(mparent)
          if name in dirents:
              return dirents[name]
          else:
              raise errors.MantaResourceNotFoundError(
                  "%s: no such object or directory" % mpath)
docs: Return available dirent info for the given Manta path.