MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / routerToPath

Function routerToPath

frontend/src/utils/router.ts:22–24  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

20};
21
22export const routerToPath = async (path: string) => {
23 await pushWithAccessCheck({ path: path });
24};
25
26export const routerToFileWithPath = async (pathItem: string) => {
27 await pushWithAccessCheck({ name: 'File', query: { path: pathItem, uncached: 'true' } });

Callers

nothing calls this directly

Calls 1

pushWithAccessCheckFunction · 0.85

Tested by

no test coverage detected