MCPcopy
hub / github.com/21st-dev/1code / createGitRouter

Function createGitRouter

src/main/lib/git/index.ts:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 * This matches Superset's changes router API structure
29 */
30export const createGitRouter = () => {
31 return router({
32 // Merge all sub-router procedures at top level
33 ...createStatusRouter()._def.procedures,
34 ...createStagingRouter()._def.procedures,
35 ...createGitOperationsRouter()._def.procedures,
36 ...createBranchesRouter()._def.procedures,
37 ...createFileContentsRouter()._def.procedures,
38 });
39};
40
41// ============ GIT REMOTE INFO ============
42

Callers 1

createAppRouterFunction · 0.90

Calls 5

createStatusRouterFunction · 0.90
createStagingRouterFunction · 0.90
createBranchesRouterFunction · 0.90
createFileContentsRouterFunction · 0.90

Tested by

no test coverage detected