Skip to content

Commit ba8958d

Browse files
author
Benjamin Forster
committed
remove unneeded custom readStream for hyperdb v2
1 parent 09e39e5 commit ba8958d

2 files changed

Lines changed: 0 additions & 202 deletions

File tree

index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@ const HyperdbReadTransform = require('./lib/HyperdbReadTransform')
1313
const JoinStream = require('./lib/JoinStream')
1414
const planner = require('./lib/planner')
1515
const pkg = require('./package.json')
16-
const attachCreateReadStream = require('./lib/hyperdbModifier').attachCreateReadStream
1716

1817
const Transform = stream.Transform
1918
const PassThrough = stream.PassThrough
2019

21-
// temporarily augment hyperdb prototype to include createReadStream
22-
// if (!hyperdb.createReadStream) {
23-
// console.log('USING CUSTOM createReadStream')
24-
// attachCreateReadStream(hyperdb)
25-
// }
26-
2720
function Graph (storage, key, opts) {
2821
if (!(this instanceof Graph)) return new Graph(storage, key, opts)
2922
events.EventEmitter.call(this)

lib/hyperdbModifier.js

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)