parameters: (input_api, output_api)
return_statement: return input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip'
docstring: Check the env var whether we want to skip tree check.
       Only skip if src/version.cc has been updated.
docstring_summary: Check the env var whether we want to skip tree check.
       Only skip if src/version.cc has been updated.
docstring_tokens: Check the env var whether we want to skip tree check . Only skip if src / version . cc has been updated .
function: def _SkipTreeCheck(input_api, output_api):
    """Check the env var whether we want to skip tree check.
       Only skip if src/version.cc has been updated."""
    src_version = 'src/version.cc'
    FilterFile = lambda file: file.LocalPath() == src_version
    if not input_api.AffectedSourceFiles(
        lambda file: file.LocalPath() == src_version):
      return False
    return input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip'
function_tokens: def _SkipTreeCheck ( input_api , output_api ) : src_version = 'src/version.cc' FilterFile = lambda file : file . LocalPath ( ) == src_version if not input_api . AffectedSourceFiles ( lambda file : file . LocalPath ( ) == src_version ) : return False return input_api . environ . get ( 'PRESUBMIT_TREE_CHECK' ) == 'skip'