MCPcopy Create free account
hub / github.com/bytebase/bytebase / run

Function run

frontend/src/react/router/guard.test.ts:72–74  ·  view source on GitHub ↗
(name: string | undefined, path: string)

Source from the content-addressed store, hash-verified

70void loc; // keep TS happy if unused
71
72function run(name: string | undefined, path: string) {
73 return rootGuard({ name, url: new URL(`https://app.example.com${path}`) });
74}
75
76function location(result: Response | null): string | null {
77 return result instanceof Response ? result.headers.get("Location") : null;

Callers 3

guard.test.tsFile · 0.70

Calls 1

rootGuardFunction · 0.90

Tested by

no test coverage detected