(self, dir, pattern)
return self._remove_files(match.match)
Exclude any file anywhere in 'dir/' that match the pattern.
Exclude any file anywhere in 'dir/' that match the pattern.
Exclude any file anywhere in dir / that match the pattern .
def recursive_exclude(self, dir, pattern):
        """
        Exclude any file anywhere in 'dir/' that match the pattern.
        """
        match = translate_pattern(os.path.join(dir, '**', pattern))
        return self._remove_files(match.match)
def recursive_exclude ( self , dir , pattern ) : match = translate_pattern ( os . path . join ( dir , '**' , pattern ) ) return self . _remove_files ( match . match )