Used to add inclusion-paths from args.paths (from the command line).
(self, include_paths)
| 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).""" |
| 122 | include_patterns = [parse_pattern(p, PathPrefixPattern) for p in include_paths] |
| 123 | self.add(include_patterns, IECommand.Include) |
| 124 | self.fallback = not include_patterns |
| 125 | self.include_patterns = include_patterns |
| 126 | |
| 127 | def get_unmatched_include_patterns(self): |
| 128 | """Note that this only returns patterns added via *add_includepaths*, and it |
no test coverage detected