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

Method writeCheckpoint

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

Source from the content-addressed store, hash-verified

9489 }
9490
9491 writeCheckpoint(checkpoint, session) {
9492 var self = this;
9493 return this.updateTarget(checkpoint, session).then(function () {
9494 return self.updateSource(checkpoint, session);
9495 });
9496 }
9497
9498 updateTarget(checkpoint, session) {
9499 if (this.opts.writeTargetCheckpoint) {

Callers 3

finishBatchFunction · 0.45
onChangesCompleteFunction · 0.45
replicateFunction · 0.45

Calls 2

updateTargetMethod · 0.95
updateSourceMethod · 0.45

Tested by

no test coverage detected