MCPcopy Create free account
hub / github.com/tiann/hapi / archiveSession

Method archiveSession

hub/src/sync/syncEngine.ts:430–433  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

428 }
429
430 async archiveSession(sessionId: string): Promise<void> {
431 await this.rpcGateway.killSession(sessionId)
432 this.handleSessionEnd({ sid: sessionId, time: Date.now() })
433 }
434
435 /**
436 * Apply the post-migration metadata flip in hapi.db:

Callers 3

migrateOneWithLockMethod · 0.45
createSessionsRoutesFunction · 0.45

Calls 2

handleSessionEndMethod · 0.95
killSessionMethod · 0.80

Tested by

no test coverage detected