-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve mtime #84
Preserve mtime #84
Conversation
one thing that is missing is that the folder mtime resets itself after writing into the folders, so we'd need to detect whenever we're done writing to a folder and then I'm not 100% sure about the current sequential approach. |
Looks good I think. |
2c123e1
to
8529af5
Compare
8529af5
to
0994f64
Compare
(rebased on main) |
Now storing mtime as mtime metadata in the Zip file. The import procedure has been adjusted to use the "stat" information from the ZIP file which is accessible in sequential form, so the recursion was removed. This assumed that the ZIP entries are always correctly ordered. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
0994f64
to
e65d249
Compare
rebased again, hopefully now with updated API stubs |
hmm, I only added getStat on ZIP but it says the method doesn't exist on |
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Adds an exception for getStat from OC\Archive\Zip which is in a private namespace Signed-off-by: Vincent Petry <vincent@nextcloud.com>
the "OC" private package is not in the included library with the stubs, so I've now updated the psalm baseline |
Now storing mtime as mtime metadata in the Zip file.
The import procedure has been adjusted to use the "stat" information
from the ZIP file which is accessible in sequential form, so the
recursion was removed. This assumed that the ZIP entries are always
correctly ordered.
For #83