MCPcopy Create free account
hub / github.com/adonisjs/session / fileStore

Function fileStore

tests/plugins/browser_client.spec.ts:221–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219 const ctx = new HttpContextFactory().merge({ request, response }).create()
220
221 const fileStore = () => new FileStore({ location: fs.basePath }, '2 hours')
222 const session = new Session(sessionConfig, fileStore, emitter, ctx)
223
224 await session.initiate(false)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected