MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / unresolvedGitRef

Function unresolvedGitRef

packages/web/src/lib/serviceError.ts:122–128  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

120}
121
122export const unresolvedGitRef = (ref: string): ServiceError => {
123 return {
124 statusCode: StatusCodes.BAD_REQUEST,
125 errorCode: ErrorCode.INVALID_GIT_REF,
126 message: `Git reference "${ref}" could not be resolved.`,
127 };
128}
129

Callers 2

getFileSourceForRepoFunction · 0.90
getFileBlameFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected