MCPcopy Index your code
hub / github.com/apache/pouchdb / updateTarget

Method updateTarget

lib/index-browser.js:9464–9471  ·  view source on GitHub ↗
(checkpoint, session)

Source from the content-addressed store, hash-verified

9462 }
9463
9464 updateTarget(checkpoint, session) {
9465 if (this.opts.writeTargetCheckpoint) {
9466 return updateCheckpoint(this.target, this.id, checkpoint,
9467 session, this.returnValue);
9468 } else {
9469 return Promise.resolve(true);
9470 }
9471 }
9472
9473 updateSource(checkpoint, session) {
9474 if (this.opts.writeSourceCheckpoint) {

Callers 1

writeCheckpointMethod · 0.95

Calls 1

updateCheckpointFunction · 0.70

Tested by

no test coverage detected