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

Method _set

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

Source from the content-addressed store, hash-verified

203 }
204
205 async _set(sid: string, sess:any) {
206 logger.debug(`SET ${sid}`);
207 sess = await this._updateExpirations(sid, sess);
208 if (sess != null) await this._write(sid, sess);
209 }
210
211 async _destroy(sid:string) {
212 logger.debug(`DESTROY ${sid}`);

Callers

nothing calls this directly

Calls 2

_updateExpirationsMethod · 0.95
_writeMethod · 0.95

Tested by

no test coverage detected