ember-legacy-class-transform
Version:
The default blueprint for ember-cli addons.
19 lines (13 loc) • 359 B
JavaScript
function Entry(relativePath, basePath, mode, size, mtime) {
this.mode = mode;
this.relativePath = relativePath;
this.basePath = basePath;
this.size = size;
this.mtime = mtime;
this.linkDir = false;
}
Entry.prototype.isDirectory = function isDirectory() {
/*jshint -W016 */
return (this.mode & 61440) === 16384;
};
module.exports = Entry;