修复获取父目录和标准化路径错误的问题#265
Merged
Merged
Conversation
added 3 commits
August 17, 2025 19:28
|
Hi @Mikachu2333, ❤️ 感谢你的贡献!你的 PR 当前基于 |
Collaborator
Author
|
在考虑是否应当加入一个ignore case在路径标准化里面,因为路径是大小写不敏感的,并且确实可能存在这种可能——误用了错误的大小写 |
ccmywish
approved these changes
Aug 18, 2025
Contributor
|
这个实现的质量是可以的 👍👍👍 |
Contributor
不应该,“路径的大小写不敏感” 只在Windows上成立,但是显然 chsrc 的维护者要负责维护多个平台,不应该在其他平台保持大小写警惕的时候只在 Windows 上随意。所以如果写错了就是维护者的错误。 |
Collaborator
Author
有道理 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题描述
N/A方案与实现
/)并进行计算, 仅在最后统一转换为适合win/linux的路径分隔符\结尾的目录处理有误的问题