Skip to content

feat(webdav): implement Getter interface - #2421

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

j2rong4cn merged 3 commits into
OpenListTeam:mainfrom
ZRHann:feat/webdav_get

Conversation

@ZRHann

@ZRHann ZRHann commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

Description / 描述

为webdav driver实现Getter interface。这可以让原本访问a/b/c时的a,a/b,a/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 fmt 或 prettier 格式化提交的代码。
  • 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 Resolved
Comment thread drivers/webdav/driver.go Resolved
@j2rong4cn
j2rong4cn merged commit e28406f into OpenListTeam:main Apr 30, 2026
12 checks passed
lyy2005a2 pushed a commit to lyy2005a2/OpenList that referenced this pull request Jun 4, 2026
* feat(webdav): implement Getter interface

* fix(webdav): update Get method to use correct path handling

Co-authored-by: Copilot <copilot@github.com>

* fix(s3): correct path handling in Get method for object retrieval

---------

Co-authored-by: j2rong4cn <j2rong@qq.com>
Co-authored-by: Copilot <copilot@github.com>
EnterTang pushed a commit to EnterTang/OpenList that referenced this pull request Jul 12, 2026
* feat(webdav): implement Getter interface

* fix(webdav): update Get method to use correct path handling

Co-authored-by: Copilot <copilot@github.com>

* fix(s3): correct path handling in Get method for object retrieval

---------

Co-authored-by: j2rong4cn <j2rong@qq.com>
Co-authored-by: Copilot <copilot@github.com>
cjd6568358 pushed a commit to cjd6568358/OpenList-zig that referenced this pull request Oct 18, 2026
* feat(webdav): implement Getter interface

* fix(webdav): update Get method to use correct path handling

Co-authored-by: Copilot <copilot@github.com>

* fix(s3): correct path handling in Get method for object retrieval

---------

Co-authored-by: j2rong4cn <j2rong@qq.com>
Co-authored-by: Copilot <copilot@github.com>
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