MCPcopy Create free account
hub / github.com/ether/etherpad / _write

Method _write

src/node/db/SessionStore.ts:195–197  ·  view source on GitHub ↗
(sid: string, sess: any)

Source from the content-addressed store, hash-verified

193 }
194
195 async _write(sid: string, sess: any) {
196 await DB.set(`sessionstorage:${sid}`, sess);
197 }
198
199 async _get(sid: string) {
200 logger.debug(`GET ${sid}`);

Callers 2

_setMethod · 0.95
_touchMethod · 0.95

Calls 1

setMethod · 0.80

Tested by

no test coverage detected