MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / validRelPath

Function validRelPath

apps/desktop/src/ipc.ts:63–65  ·  view source on GitHub ↗
(path: unknown)

Source from the content-addressed store, hash-verified

61}
62
63function validRelPath(path: unknown): path is string {
64 return typeof path === 'string' && path.length <= 4096
65}
66
67async function readWorkspaceMeta(id: string): Promise<WorkspaceMeta | null> {
68 const registryPath = resolve(workspaceLauncherRoot(), 'workspaces.json')

Callers 1

registerOpenAliceIpcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected