Repository navigation
Update etag of direct parent on unshare - #15815
Conversation
|
good catch! |
|
👍 |
There was a problem hiding this comment.
Filesystem::normalizePath ?
There was a problem hiding this comment.
normalizePath is slower (does unicode stuff too). Here I just wanted to make sure that we have the leading slash because some callers might miss it.
|
👍 otherwise |
|
@icewind1991 thanks for the review. I intend to add my unit test to your fantastic etagpropagation tests from the etag propagation PR (as soon as you have added sub1/sub2) |
|
Rebasing this so I can add the missing unit test. |
Only call dirname() once instead of twice when propagating etags to the recipient's parent folders.
3b7759d to
65fbb5e
Compare
|
A new inspection was created. |
|
I have added the unit tests, please have a quick look @icewind1991 https://github.com/owncloud/core/pull/15815/files#diff-425c8a29749dd102cb022ceb10bb7a1fR248 |
|
Refer to this link for build results (access rights to CI server needed): |
|
👍 looks good |
|
Can we get this merged? |
|
Second reviewer needed @schiesbn @DeepDiver1975 @rullzer @MorrisJobke |
|
👍 looks good |
Update etag of direct parent on unshare
Update etag of direct parent on unshare

Only call dirname() once instead of twice when propagating etags to the
recipient's parent folders.
Fixes #15813
@icewind1991 @schiesbn