def match(self, path):
        u"""

        :type path: text_type
        :param path: The path to match against this list of path specs.
        :return:
        """
        for spec in reversed(self.pathspecs):  # type: Pathspec
            if spec.pattern.match(path):
                return not spec.negated

        return False