Repository navigation
vfs: support renaming implicit ZIP directories - #65752
Conversation
|
@pipobscure ... just want to get your review on this as well. |
This comment was marked as outdated.
This comment was marked as outdated.
|
LGTM definitely a step in the right direction. Made me think of another edgecase where the provider could be better in a write/rename situation. |
|
In this context, we (probably I) should also take a look at #65373 to make sure the bahaviour is fully correct for ZipArchives. Decision Needed: merge this and then fix the issues as this is already a significant improvement, or fix the latent rename issues in one go. My €0.02 is to merge and continue improving, that's after all what --experimental is for. |
1bb560a to
8e7df26
Compare
|
Re-requested a review from @jasnell as a regression test was added based on feedback in #65752 (comment) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Treat archive entry prefixes as directories when renaming with ZipProvider. Move all descendant entries to the new prefix for both asynchronous and synchronous operations. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: codex:gpt-5.6-sol
8e7df26 to
5263f98
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@jasnell Can you provide your approval again? I had to rebase on Sep 9th to resolve conflicts. |
Treat archive entry prefixes as directories when renaming with ZipProvider. Move all descendant entries to the new prefix for both asynchronous and synchronous operations. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: codex:gpt-5.6-sol PR-URL: #65752 Fixes: #65751 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

Fixes: #65751
Treat archive entry prefixes as directories when renaming with ZipProvider. Move all descendant entries to the new prefix for both asynchronous and synchronous operations.
Assisted-by: codex:gpt-5.6-sol