MCPcopy
hub / github.com/apache/pouchdb / writeCheckpoint

Method writeCheckpoint

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

Source from the content-addressed store, hash-verified

9484 }
9485
9486 writeCheckpoint(checkpoint, session) {
9487 var self = this;
9488 return this.updateTarget(checkpoint, session).then(function () {
9489 return self.updateSource(checkpoint, session);
9490 });
9491 }
9492
9493 updateTarget(checkpoint, session) {
9494 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