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

Function readMetadata

lib/index-browser.js:5041–5048  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

5039 }
5040
5041 function readMetadata(event) {
5042 var metadata = decodeMetadata(event.target.result);
5043
5044 if (metadata) {
5045 fetchedDocs.set(metadata.id, metadata);
5046 }
5047 checkDone();
5048 }
5049
5050 for (var i = 0, len = docInfos.length; i < len; i++) {
5051 var docInfo = docInfos[i];

Callers

nothing calls this directly

Calls 2

decodeMetadataFunction · 0.70
checkDoneFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…