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
{{ message }}
This repository was archived by the owner on Jun 5, 2024. It is now read-only.
I ran the putFile function, but it seems that the wrong value is entered in X-OC-MTime.
so i changed return value info.mtime to info.mtimeMs in helperFunctions#_getMTime
it's works
/** * gets the MTime of a file/folder * @param {string} path path of the file/folder * @returns {Date} MTime */helpers.prototype._getMTime=function(path){varinfo=fs.statSync(path);returninfo.mtimeMs;};
I ran the
putFilefunction, but it seems that the wrong value is entered inX-OC-MTime.so i changed return value info.mtime to info.mtimeMs in
helperFunctions#_getMTimeit's works
error logs