46 class exact(_match): |
46 class exact(_match): |
47 def __init__(self, root, cwd, files): |
47 def __init__(self, root, cwd, files): |
48 _match.__init__(self, root, cwd, files, self.exact, False) |
48 _match.__init__(self, root, cwd, files, self.exact, False) |
49 |
49 |
50 class match(_match): |
50 class match(_match): |
51 def __init__(self, root, cwd, patterns, include, exclude, default): |
51 def __init__(self, root, cwd, patterns, include=[], exclude=[], |
|
52 default='glob'): |
52 f, mf, ap = util.matcher(root, cwd, patterns, include, exclude, |
53 f, mf, ap = util.matcher(root, cwd, patterns, include, exclude, |
53 default) |
54 default) |
54 _match.__init__(self, root, cwd, f, mf, ap) |
55 _match.__init__(self, root, cwd, f, mf, ap) |