Look for files in the app directories.
(self, path, find_all=False)
| 181 | yield path, storage |
| 182 | |
| 183 | def find(self, path, find_all=False): |
| 184 | """ |
| 185 | Look for files in the app directories. |
| 186 | """ |
| 187 | matches = [] |
| 188 | for app in self.apps: |
| 189 | app_location = self.storages[app].location |
| 190 | if app_location not in searched_locations: |
| 191 | searched_locations.append(app_location) |
| 192 | match = self.find_in_app(app, path) |
| 193 | if match: |
| 194 | if not find_all: |
| 195 | return match |
| 196 | matches.append(match) |
| 197 | return matches |
| 198 | |
| 199 | def find_in_app(self, app, path): |
| 200 | """ |
nothing calls this directly
no test coverage detected