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

Function autoCompact

lib/index.es.js:5438–5444  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

5436 }
5437
5438 function autoCompact(callback) {
5439 var revsMap = new Map();
5440 fetchedDocs.forEach(function (metadata, docId) {
5441 revsMap.set(docId, compactTree(metadata));
5442 });
5443 compact(revsMap, callback);
5444 }
5445
5446 function finish() {
5447 compact(stemmedRevs, function (error) {

Callers 1

finishFunction · 0.70

Calls 2

compactTreeFunction · 0.70
compactFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…