MCPcopy Create free account
hub / github.com/Kong/insomnia / gitCallbacks

Function gitCallbacks

packages/insomnia/src/sync/git/utils.ts:166–173  ·  view source on GitHub ↗
(credentialsId?: string | null, repoPath?: string, options?: GitAuthOptions)

Source from the content-addressed store, hash-verified

164 * background operations so providers do not start sign-ins.
165 */
166export const gitCallbacks = (credentialsId?: string | null, repoPath?: string, options?: GitAuthOptions) => {
167 return {
168 onMessage,
169 onAuthFailure: onAuthFailure(credentialsId, repoPath, options),
170 onAuthSuccess: onAuthSuccess(credentialsId, repoPath),
171 onAuth: onAuth(credentialsId, repoPath, options),
172 };
173};

Callers 10

GitVCSClass · 0.90
initMethod · 0.90
initFromCloneMethod · 0.90
canPushMethod · 0.90
pushMethod · 0.90
fetchMethod · 0.90
fetchRemoteBranchesFunction · 0.90
shallowCloneFunction · 0.90

Calls 3

onAuthFailureFunction · 0.85
onAuthSuccessFunction · 0.85
onAuthFunction · 0.85

Tested by

no test coverage detected