third_party/blink/tools/blinkpy/style/filereader.py
def _process_directory(self, directory):
        """Process all files in the given directory, recursively."""
        # FIXME: We should consider moving to self.filesystem.files_under() (or adding walk() to FileSystem)
        for dir_path, _, file_names in os.walk(directory):
            for file_name in file_names:
                file_path = self.filesystem.join(dir_path, file_name)
                self.process_file(file_path)
Process all files in the given directory, recursively.
Process all files in the given directory, recursively.
Process all files in the given directory recursively .
def _process_directory(self, directory):
        for dir_path, _, file_names in os.walk(directory):
            for file_name in file_names:
                file_path = self.filesystem.join(dir_path, file_name)
                self.process_file(file_path)
def _process_directory ( self , directory ) : for dir_path , _ , file_names in os . walk ( directory ) : for file_name in file_names : file_path = self . filesystem . join ( dir_path , file_name ) self . process_file ( file_path )
Process all files in the given directory, recursively.
Process all files in the given directory recursively .
"""Process all files in the given directory, recursively.""" # FIXME: We should consider moving to self.filesystem.files_under() (or adding walk() to FileSystem)
self
directory