(GH-141) Fix renaming a dir with sub-directories#320
Conversation
|
what happens if you have got and you try to rename |
|
The fix is in the right direction but has two bugs that need addressing before this can merge:
Fix both and this is mergeable. |
|
Thanks for this — the bug you identified was real. However, this fix is now already in the codebase via renameDescendants(), which was added in a subsequent commit and handles this case correctly (and avoids the path-prefix collision that would affect your HasPrefix check, e.g. renaming /src incorrectly matching /src-other). Closing as already fixed. |
This is an update to #239 to address the open comments, and rebased off master