def find(self, path, all=False):
matches = []<EOL>for app in self.apps:<EOL><INDENT>app_location = self.storages[app].location<EOL>if app_location not in searched_locations:<EOL><INDENT>searched_locations.append(app_location)<EOL><DEDENT>match = self.find_in_app(app, path)<EOL>if match:<EOL><INDENT>if not all:<EOL><INDENT>return match<EOL><DEDENT>matches.append(match)<EOL><DEDENT><DEDENT>return matches<EOL>
Looks for files in the app directories.