MCPcopy Create free account
hub / github.com/WJX20/claude-code / doesMessageExistInSession

Function doesMessageExistInSession

src/utils/sessionStorage.ts:3862–3868  ·  view source on GitHub ↗
(
  sessionId: UUID,
  messageUuid: UUID,
)

Source from the content-addressed store, hash-verified

3860 * Check if a message UUID exists in the session storage
3861 */
3862export async function doesMessageExistInSession(
3863 sessionId: UUID,
3864 messageUuid: UUID,
3865): Promise<boolean> {
3866 const messageSet = await getSessionMessages(sessionId)
3867 return messageSet.has(messageUuid)
3868}
3869
3870export async function getLastSessionLog(
3871 sessionId: UUID,

Callers 1

runHeadlessStreamingFunction · 0.85

Calls 2

getSessionMessagesFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected