MCPcopy Index your code
hub / github.com/tinyhttp/tinyhttp / save

Function save

packages/session/src/index.ts:497–500  ·  view source on GitHub ↗
(this: Session, cb?: (err?: any) => void)

Source from the content-addressed store, hash-verified

495 }
496
497 function save(this: Session, cb?: (err?: any) => void) {
498 savedHash = hash(this)
499 _save.apply(this, [cb])
500 }
501
502 Object.defineProperty(sess, 'reload', {
503 configurable: true,

Callers

nothing calls this directly

Calls 1

hashFunction · 0.85

Tested by

no test coverage detected