MCPcopy Create free account
hub / github.com/dataform-co/dataform / addHook

Method addHook

testing/suite.ts:117–120  ·  view source on GitHub ↗
(hookList: Hook[], newHook: Hook)

Source from the content-addressed store, hash-verified

115 }
116
117 private addHook(hookList: Hook[], newHook: Hook) {
118 this.checkMutation();
119 hookList.push(newHook);
120 }
121
122 private checkMutation() {
123 if (this.runStarted) {

Callers 1

contextMethod · 0.95

Calls 2

checkMutationMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected