MCPcopy Create free account
hub / github.com/apache/pouchdb / toPouch

Function toPouch

lib/index.js:10348–10355  ·  view source on GitHub ↗
(db, opts)

Source from the content-addressed store, hash-verified

10346}
10347
10348function toPouch(db, opts) {
10349 var PouchConstructor = opts.PouchConstructor;
10350 if (typeof db === 'string') {
10351 return new PouchConstructor(db, opts);
10352 } else {
10353 return db;
10354 }
10355}
10356
10357function replicateWrapper(src, target, opts, callback) {
10358

Callers 2

replicateWrapperFunction · 0.70
syncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…