MCPcopy Index your code
hub / github.com/nodejs/node / _SkipTreeCheck

Function _SkipTreeCheck

deps/v8/PRESUBMIT.py:503–510  ·  view source on GitHub ↗

Check the env var whether we want to skip tree check. Only skip if include/v8-version.h has been updated.

(input_api, output_api)

Source from the content-addressed store, hash-verified

501
502
503def _SkipTreeCheck(input_api, output_api):
504 """Check the env var whether we want to skip tree check.
505 Only skip if include/v8-version.h has been updated."""
506 src_version = 'include/v8-version.h'
507 if not input_api.AffectedSourceFiles(
508 lambda file: file.LocalPath() == src_version):
509 return False
510 return input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip'
511
512
513def _CheckCommitMessageBugEntry(input_api, output_api):

Callers 1

CheckChangeOnCommitFunction · 0.85

Calls 2

LocalPathMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…