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

Method updateTarget

lib/index.js:9498–9505  ·  view source on GitHub ↗
(checkpoint, session)

Source from the content-addressed store, hash-verified

9496 }
9497
9498 updateTarget(checkpoint, session) {
9499 if (this.opts.writeTargetCheckpoint) {
9500 return updateCheckpoint(this.target, this.id, checkpoint,
9501 session, this.returnValue);
9502 } else {
9503 return Promise.resolve(true);
9504 }
9505 }
9506
9507 updateSource(checkpoint, session) {
9508 if (this.opts.writeSourceCheckpoint) {

Callers 1

writeCheckpointMethod · 0.95

Calls 1

updateCheckpointFunction · 0.70

Tested by

no test coverage detected