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

Method _get

src/node/db/SessionStore.ts:199–203  ·  view source on GitHub ↗
(sid: string)

Source from the content-addressed store, hash-verified

197 }
198
199 async _get(sid: string) {
200 logger.debug(`GET ${sid}`);
201 const s = await DB.get(`sessionstorage:${sid}`);
202 return await this._updateExpirations(sid, s);
203 }
204
205 async _set(sid: string, sess:any) {
206 logger.debug(`SET ${sid}`);

Callers 1

_updateExpirationsMethod · 0.95

Calls 2

_updateExpirationsMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected