def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def visitdir(self, dir):
        if self(dir):
            return "all"
        return self._matcher.visitdir(dir)