##// END OF EJS Templates
match: introduce boolean prefix() method...
Martin von Zweigbergk -
r25233:9789b4a7 default
parent child Browse files
Show More
@@ -229,6 +229,9 b' class match(object):'
229 229 def isexact(self):
230 230 return self.matchfn == self.exact
231 231
232 def prefix(self):
233 return not self.always() and not self.isexact() and not self.anypats()
234
232 235 def _normalize(self, patterns, default, root, cwd, auditor):
233 236 '''Convert 'kind:pat' from the patterns list to tuples with kind and
234 237 normalized and rooted patterns and with listfiles expanded.'''
General Comments 0
You need to be logged in to leave comments. Login now