third_party/blink/tools/blinkpy/w3c/local_wpt.py
def is_commit_affecting_directory(self, commit, directory):
        """Checks if a commit affects a directory."""
        exit_code = self.run([
            'git', 'diff-tree', '--quiet', '--no-commit-id', '-r', commit,
            '--', directory
        ],
                             return_exit_code=True)
        return exit_code == 1
Checks if a commit affects a directory.
Checks if a commit affects a directory.
Checks if a commit affects a directory .
def is_commit_affecting_directory(self, commit, directory):
        exit_code = self.run([
            'git', 'diff-tree', '--quiet', '--no-commit-id', '-r', commit,
            '--', directory
        ],
                             return_exit_code=True)
        return exit_code == 1
def is_commit_affecting_directory ( self , commit , directory ) : exit_code = self . run ( [ 'git' , 'diff-tree' , '--quiet' , '--no-commit-id' , '-r' , commit , '--' , directory ] , return_exit_code = True ) return exit_code == 1
Checks if a commit affects a directory.
Checks if a commit affects a directory .
"""Checks if a commit affects a directory."""
self
commit
directory