'Returns stat information of a specific path.
Args:
path: a Unicode string containing the path or None.
If path is None the value in self.path is used.
Returns:
a StatResponse proto
Raises:
IOError when call to os.stat() fails'

def Stat(self, path=None):

    local_path = client_utils.CanonicalPathToLocalPath((path or self.path))
    st = self._GetRawStat(local_path)
    result = MakeStatResponse(st, self.pathspec)
    try:
        result.symlink = utils.SmartUnicode(os.readlink(local_path))
    except (OSError, AttributeError):
        pass
    return result
