Show More
@@ -229,6 +229,9 b' class match(object):' | |||||
229 | def isexact(self): |
|
229 | def isexact(self): | |
230 | return self.matchfn == self.exact |
|
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 | def _normalize(self, patterns, default, root, cwd, auditor): |
|
235 | def _normalize(self, patterns, default, root, cwd, auditor): | |
233 | '''Convert 'kind:pat' from the patterns list to tuples with kind and |
|
236 | '''Convert 'kind:pat' from the patterns list to tuples with kind and | |
234 | normalized and rooted patterns and with listfiles expanded.''' |
|
237 | normalized and rooted patterns and with listfiles expanded.''' |
General Comments 0
You need to be logged in to leave comments.
Login now