Files
cssd-back/node_modules/unzip/lib/entry.js
T
2019-07-15 13:07:31 +04:30

22 lines
399 B
JavaScript
Vendored

'use strict';
module.exports = Entry;
var PassThrough = require('stream').PassThrough;
var inherits = require('util').inherits;
if (!PassThrough) {
PassThrough = require('readable-stream/passthrough');
}
inherits(Entry, PassThrough);
function Entry () {
PassThrough.call(this);
this.props = {};
}
Entry.prototype.autodrain = function () {
this.on('readable', this.read.bind(this));
};