MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / isLocalSessionPath

Function isLocalSessionPath

shared/session-paths.ts:8–10  ·  view source on GitHub ↗
(sessionPath: string | null | undefined)

Source from the content-addressed store, hash-verified

6}
7
8export function isLocalSessionPath(sessionPath: string | null | undefined) {
9 return typeof sessionPath === 'string' && sessionPath.startsWith(LOCAL_SESSION_PREFIX)
10}
11
12export function getPersistedSessionPath(sessionPath: string | null | undefined) {
13 return typeof sessionPath === 'string' &&

Calls

no outgoing calls

Tested by

no test coverage detected