def restat(self, reraise=True):
        """
        Re-calculate cached effects of 'stat'.  To refresh information on this path
        after you know the filesystem may have changed, call this method.

        @param reraise: a boolean.  If true, re-raise exceptions from
        L{os.stat}; otherwise, mark this path as not existing, and remove any
        cached stat information.

        @raise Exception: is C{reraise} is C{True} and an exception occurs while
            reloading metadata.
        """
        try:
            self.statinfo = stat(self.path)
        except __HOLE__:
            self.statinfo = 0
            if reraise:
                raise
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/filepath.py/FilePath.restat