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

Function callDestroy

lib/index.js:6378–6386  ·  view source on GitHub ↗
(name, cb)

Source from the content-addressed store, hash-verified

6376 }
6377 };
6378 function callDestroy(name, cb) {
6379 // May not exist if leveldown is backed by memory adapter
6380 /* istanbul ignore else */
6381 if ('destroy' in leveldown) {
6382 leveldown.destroy(name, cb);
6383 } else {
6384 cb(null);
6385 }
6386 }
6387}
6388
6389// require leveldown. provide verbose output on error as it is the default

Callers 1

LevelPouchFunction · 0.70

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…