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

Function fileStore

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

Source from the content-addressed store, hash-verified

245 const ctx = new HttpContextFactory().merge({ request, response }).create()
246
247 const fileStore = () => new FileStore({ location: fs.basePath }, '2 hours')
248 const session = new Session(sessionConfig, fileStore, emitter, ctx)
249
250 await session.initiate(false)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected