MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / routeUrl

Function routeUrl

graph-ui/src/App.tsx:26–31  ·  view source on GitHub ↗
(tab: TabId, project: string | null)

Source from the content-addressed store, hash-verified

24
25/* Build the canonical URL for a route, preserving the path and hash. */
26function routeUrl(tab: TabId, project: string | null): string {
27 const params = new URLSearchParams();
28 params.set("tab", tab);
29 if (project) params.set("project", project);
30 return `${window.location.pathname}?${params.toString()}${window.location.hash}`;
31}
32
33export function App() {
34 const t = useUiMessages();

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected