(name, cb)
| 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 |
no test coverage detected
searching dependent graphs…