You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
define(function(require,exports,module){functionFileSystemStats(options){varisFile=options.isFile;this._isFile=isFile,this._isDirectory=!isFile,this._mtime=options.mtimeinstanceofDate?options.mtime:newDate(options.mtime),this._size=options.size,this._hash=options.hash||this._mtime.valueOf();varrealPath=options.realPath;realPath&&(isFile||"/"===realPath[realPath.length-1]||(realPath+="/"),this._realPath=realPath)}Object.defineProperties(FileSystemStats.prototype,{isFile:{get:function(){returnthis._isFile},set:function(){thrownewError("Cannot set isFile")}},isDirectory:{get:function(){returnthis._isDirectory},set:function(){thrownewError("Cannot set isDirectory")}},mtime:{get:function(){returnthis._mtime},set:function(){thrownewError("Cannot set mtime")}},size:{get:function(){returnthis._size},set:function(){thrownewError("Cannot set size")}},realPath:{get:function(){returnthis._realPath},set:function(){thrownewError("Cannot set realPath")}}}),FileSystemStats.prototype._isFile=!1,FileSystemStats.prototype._isDirectory=!1,FileSystemStats.prototype._mtime=null,FileSystemStats.prototype._size=null,FileSystemStats.prototype._hash=null,FileSystemStats.prototype._realPath=null,module.exports=FileSystemStats});