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

Function routerToFileWithPath

frontend/src/utils/router.ts:26–28  ·  view source on GitHub ↗
(pathItem: string)

Source from the content-addressed store, hash-verified

24};
25
26export const routerToFileWithPath = async (pathItem: string) => {
27 await pushWithAccessCheck({ name: 'File', query: { path: pathItem, uncached: 'true' } });
28};
29
30export const routerToNameWithQuery = async (name: string, query: any) => {
31 await pushWithAccessCheck({ name: name, query: query });

Callers

nothing calls this directly

Calls 1

pushWithAccessCheckFunction · 0.85

Tested by

no test coverage detected