##// END OF EJS Templates
match: document bad callback semantics
Matt Mackall -
r8678:43598055 default
parent child Browse files
Show More
@@ -81,6 +81,13 b' class match(object):'
81 for f in self._files:
81 for f in self._files:
82 yield f
82 yield f
83 def bad(self, f, msg):
83 def bad(self, f, msg):
84 '''callback for each explicit file that can't be
85 found/accessed, with an error message
86
87 return True to keep file in results, False to discard
88
89 default behavior is to silently keep
90 '''
84 return True
91 return True
85 def dir(self, f):
92 def dir(self, f):
86 pass
93 pass
General Comments 0
You need to be logged in to leave comments. Login now