mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 23:16:54 +03:00
[PR #701] [MERGED] feat: skip directory listing in HEAD requests #6226
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/701
Author: @sigoden
Created: 4/30/2026
Status: ✅ Merged
Merged: 4/30/2026
Merged by: @sigoden
Base:
main← Head:feat📝 Commits (1)
c38bbdffeat: skip directory listing for HEAD requests📊 Changes
1 file changed (+5 additions, -4 deletions)
View changed files
📝
src/server.rs(+5 -4)📄 Description
Historically, dufs would walk the fs to gather paths even for HEAD requests. This meant that when there were many paths, response times could be quite lengthy.
This PR allows dufs to skip fs walks in HEAD requests. Make HEAD request response times really fast.
Close #700
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.