Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core)!: make list return path itself #4959

Merged
merged 21 commits into from
Aug 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
support webdav
meteorgan committed Aug 22, 2024
commit 885ad9a88b2f537c726d6cea5f7ef03b420dea9f
2 changes: 1 addition & 1 deletion core/src/services/webdav/core.rs
Original file line number Diff line number Diff line change
@@ -292,7 +292,7 @@ impl WebdavCore {

loop {
match self.webdav_stat_rooted_abs_path(path).await {
// Dir is exist, break the loop.
// Dir exists, break the loop.
Ok(_) => {
break;
}
5 changes: 0 additions & 5 deletions core/src/services/webdav/lister.rs
Original file line number Diff line number Diff line change
@@ -88,11 +88,6 @@ impl oio::PageList for WebdavLister {
let normalized_path = build_rel_path(&self.core.root, &path);
let decoded_path = percent_decode_path(&normalized_path);

if normalized_path == self.path || decoded_path == self.path {
// WebDAV server may return the current path as an entry.
continue;
}

// HACKS! HACKS! HACKS!
//
// jfrog artifactory will generate a virtual checksum file for each file.