lib/webrtc-8d2248ff/PRESUBMIT.py
def _IsLintWhitelisted(whitelist_dirs, file_path):
  """ Checks if a file is whitelisted for lint check."""
  for path in whitelist_dirs:
    if os.path.dirname(file_path).startswith(path):
      return True
  return False
 Checks if a file is whitelisted for lint check.
Checks if a file is whitelisted for lint check.
Checks if a file is whitelisted for lint check .
def _IsLintWhitelisted(whitelist_dirs, file_path):
  for path in whitelist_dirs:
    if os.path.dirname(file_path).startswith(path):
      return True
  return False
def _IsLintWhitelisted ( whitelist_dirs , file_path ) : for path in whitelist_dirs : if os . path . dirname ( file_path ) . startswith ( path ) : return True return False
Checks if a file is whitelisted for lint check.
Checks if a file is whitelisted for lint check .
""" Checks if a file is whitelisted for lint check."""
whitelist_dirs
file_path