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

Function getLocalDraftProjectId

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

Source from the content-addressed store, hash-verified

39}
40
41export function getLocalDraftProjectId(sessionPath: string | null | undefined) {
42 return getLocalDraftParts(sessionPath)?.projectId ?? null
43}
44
45export function getLocalDraftChatGroupId(sessionPath: string | null | undefined) {
46 return getLocalDraftParts(sessionPath)?.chatGroupId ?? null

Calls 1

getLocalDraftPartsFunction · 0.85

Tested by

no test coverage detected