feat(url-tree): implement the Put interface to support adding links directly to the UrlTree on the web side#8312
Merged
xhofe merged 3 commits intoAlistGo:mainfrom Apr 12, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (2)
internal/op/path.go:33
- [nitpick] Consider renaming 'urlTreeSplitLineFormPath' to 'urlTreeSplitLineFromPath' to correct the potential typo and improve clarity.
func urlTreeSplitLineFormPath(path string) (pp string, file string) {
internal/op/fs.go:9
- The file uses 'stdpath' (e.g., in stdpath.Join) but does not import it. Please add the import alias: 'stdpath "path"'.
import ( ...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
xhofe
approved these changes
Apr 12, 2025
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.
#7779 的拓展,添加了接口Put,支持直接在网页中通过新建文件的方式添加链接到URL-TREE。
Closes #8303