fix(sync): (Codex) OneDrive createDir recursion#1390
Open
cyfung1031 wants to merge 1 commit intomainfrom
Open
Conversation
Member
|
分这么多么pr么,感觉可以一起 |
Collaborator
Author
合在一起你又说太多,然后看三个月都看不完 它們全部都是解決不同問題的。不是一樣。 |
Member
行,都可以 👀 |
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.
createDir("A/B/C")现在会从 OneDrive app root 开始逐层创建A、B、C,而不是直接尝试在尚未存在的A/B下创建C。同时保留原有ScriptCat前缀兼容逻辑,并把 OneDrive 返回的目录已存在冲突视为成功,以符合mkdir -p语义;其它错误仍会抛出。补了两个测试:验证嵌套目录会按层级发请求,以及中间目录已存在时会继续创建子目录。