filer/src/directory-entry.js

7 lines
174 B
JavaScript
Raw Normal View History

2018-05-24 18:15:09 +00:00
var NODE_TYPE_FILE = require('./constants.js').NODE_TYPE_FILE;
2014-03-18 16:29:20 +00:00
module.exports = function DirectoryEntry(id, type) {
this.id = id;
2018-05-24 18:15:09 +00:00
this.type = type || NODE_TYPE_FILE;
};