MCPcopy
hub / github.com/di-sukharev/opencommit / beforeCreateRequest

Method beforeCreateRequest

out/cli.cjs:28816–28822  ·  view source on GitHub ↗
(hookCtx, input)

Source from the content-addressed store, hash-verified

28814 return this.sdkInitHooks.reduce((opts2, hook) => hook.sdkInit(opts2), opts);
28815 }
28816 beforeCreateRequest(hookCtx, input) {
28817 let inp = input;
28818 for (const hook of this.beforeCreateRequestHooks) {
28819 inp = hook.beforeCreateRequest(hookCtx, inp);
28820 }
28821 return inp;
28822 }
28823 async beforeRequest(hookCtx, request3) {
28824 let req = request3;
28825 for (const hook of this.beforeRequestHooks) {

Callers 1

_createRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected