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