Skip to content

feat(webdav): implement Getter interface#2421

Merged
j2rong4cn merged 3 commits intoOpenListTeam:mainfrom
ZRHann:feat/webdav_get
Apr 30, 2026
Merged

feat(webdav): implement Getter interface#2421
j2rong4cn merged 3 commits intoOpenListTeam:mainfrom
ZRHann:feat/webdav_get

Conversation

@ZRHann
Copy link
Copy Markdown
Contributor

@ZRHann ZRHann commented Apr 29, 2026

Description / 描述

webdav driver实现Getter interface。这可以让原本访问a/b/c时的aa/ba/b/c三次请求,减少成一次a/b/c请求,优化性能。

Implement the Getter interface for the WebDAV driver. This optimizes performance by reducing the three separate requests typically required to access a/b/c (for a, a/b, and a/b/c) into a single request.

Motivation and Context / 背景

Closes #XXXX

Relates to #XXXX

How Has This Been Tested? / 测试

打log确定使用了op.Get。

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
    我已阅读 CONTRIBUTING 文档。
  • I have formatted my code with go fmt or prettier.
    我已使用 go fmtprettier 格式化提交的代码。
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking permissions).
    我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
    我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
  • I have updated the repository accordingly (If it’s needed).
    我已相应更新了相关仓库(若适用)。

Comment thread drivers/webdav/driver.go Outdated
Comment thread drivers/webdav/driver.go Outdated
@j2rong4cn j2rong4cn merged commit e28406f into OpenListTeam:main Apr 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants