MCPcopy Index your code
hub / github.com/codeaashu/claude-code / doesMessageExistInSession

Function doesMessageExistInSession

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

Source from the content-addressed store, hash-verified

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

Callers 1

runHeadlessStreamingFunction · 0.85

Calls 2

getSessionMessagesFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected