def match(self, target):
        if not self.hidden and target.startswith(".") and target not in self.includes:
            return False
        if self.matchexcludecheck:
            if self.match_exclude(target) is False:
                return False
        if self.excludes and target in self.excludes:
            return False
        if self.includes and target in self.includes:
            return True
        if self.matchfiltercheck:
            if self.match_filter(target) is False:
                return False
        return True
Searches target for pattern and returns a bool.
dataset/ETHPy150Open mikar/demimove/demimove/fileops.py/FileOps.match