third_party/blink/tools/blinkpy/common/checkout/baseline_optimizer.py
def read_results_by_directory(self, test_name, baseline_name):
        """Reads the baselines with the given file name in all directories.

        Returns:
            A dict from directory names to the digest of file content.
        """
        results_by_directory = {}
        directories = set()
        for port in self._ports.values():
            directories.update(set(self._relative_baseline_search_path(port)))

        for directory in directories:
            path = self._join_directory(directory, baseline_name)
            if self._filesystem.exists(path):
                results_by_directory[directory] = ResultDigest(
                    self._filesystem, path, self._is_reftest(test_name))
        return results_by_directory
Reads the baselines with the given file name in all directories.

        Returns:
            A dict from directory names to the digest of file content.
        
Reads the baselines with the given file name in all directories.
Reads the baselines with the given file name in all directories .
def read_results_by_directory(self, test_name, baseline_name):
        results_by_directory = {}
        directories = set()
        for port in self._ports.values():
            directories.update(set(self._relative_baseline_search_path(port)))
        for directory in directories:
            path = self._join_directory(directory, baseline_name)
            if self._filesystem.exists(path):
                results_by_directory[directory] = ResultDigest(
                    self._filesystem, path, self._is_reftest(test_name))
        return results_by_directory
def read_results_by_directory ( self , test_name , baseline_name ) : results_by_directory = { } directories = set ( ) for port in self . _ports . values ( ) : directories . update ( set ( self . _relative_baseline_search_path ( port ) ) ) for directory in directories : path = self . _join_directory ( directory , baseline_name ) if self . _filesystem . exists ( path ) : results_by_directory [ directory ] = ResultDigest ( self . _filesystem , path , self . _is_reftest ( test_name ) ) return results_by_directory
Reads the baselines with the given file name in all directories.
Reads the baselines with the given file name in all directories .
"""Reads the baselines with the given file name in all directories.

        Returns:
            A dict from directory names to the digest of file content.
        """
A dict from directory names to the digest of file content.
A dict from directory names to the digest of file content .
self
test_name
baseline_name