Add list of patterns to internal list. *cmd* indicates whether the pattern is an include/exclude pattern, and whether recursion should be done on excluded folders.
(self, patterns, cmd)
| 110 | self._items.append((pattern, cmd)) |
| 111 | |
| 112 | def add(self, patterns, cmd): |
| 113 | """Add list of patterns to internal list. *cmd* indicates whether the |
| 114 | pattern is an include/exclude pattern, and whether recursion should be |
| 115 | done on excluded folders. |
| 116 | """ |
| 117 | for pattern in patterns: |
| 118 | self._add(pattern, cmd) |
| 119 | |
| 120 | def add_includepaths(self, include_paths): |
| 121 | """Used to add inclusion-paths from args.paths (from the command line).""" |