MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / CheckAddedDepsHaveTargetApprovals

Function CheckAddedDepsHaveTargetApprovals

PRESUBMIT.py:1144–1219  ·  view source on GitHub ↗

When a dependency prefixed with + is added to a DEPS file, we want to make sure that the change is reviewed by an OWNER of the target file or directory, to avoid layering violations from being introduced. This check verifies that this happens.

(input_api, output_api)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CommonChecksFunction · 0.85

Calls 8

_CalculateAddedDepsFunction · 0.85
StripDepsFunction · 0.85
outputFunction · 0.85
LocalPathMethod · 0.80
AffectedFilesMethod · 0.80
OldContentsMethod · 0.80
NewContentsMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected