(name, data, options)
| 12748 | * @param {Object} options the options of the file |
| 12749 | */ |
| 12750 | var ZipObject = function(name, data, options) { |
| 12751 | this.name = name; |
| 12752 | this.dir = options.dir; |
| 12753 | this.date = options.date; |
| 12754 | this.comment = options.comment; |
| 12755 | this.unixPermissions = options.unixPermissions; |
| 12756 | this.dosPermissions = options.dosPermissions; |
| 12757 | |
| 12758 | this._data = data; |
| 12759 | this.options = options; |
| 12760 | |
| 12761 | /* |
| 12762 | * This object contains initial values for dir and date. |
| 12763 | * With them, we can check if the user changed the deprecated metadata in |
| 12764 | * `ZipObject#options` or not. |
| 12765 | */ |
| 12766 | this._initialMetadata = { |
| 12767 | dir : options.dir, |
| 12768 | date : options.date |
| 12769 | }; |
| 12770 | }; |
| 12771 | |
| 12772 | ZipObject.prototype = { |
| 12773 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected