[PR #102] [MERGED] feat: make --path-prefix works on serving single file #472

Closed
opened 2026-04-08 16:53:04 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/102
Author: @sigoden
Created: 7/8/2022
Status: Merged
Merged: 7/8/2022
Merged by: @sigoden

Base: mainHead: feat-single-file-prefix


📝 Commits (1)

  • bcfa8bf feat: make --path-prefix works on serving single file

📊 Changes

4 files changed (+88 additions, -26 deletions)

View changed files

📝 src/args.rs (+2 -1)
📝 src/server.rs (+25 -2)
📝 tests/args.rs (+1 -23)
tests/single_file.rs (+60 -0)

📄 Description

close #101


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/102 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 7/8/2022 **Status:** ✅ Merged **Merged:** 7/8/2022 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `feat-single-file-prefix` --- ### 📝 Commits (1) - [`bcfa8bf`](https://github.com/sigoden/dufs/commit/bcfa8bf266f2fe51600630b0154068c7d4482b9d) feat: make --path-prefix works on serving single file ### 📊 Changes **4 files changed** (+88 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `src/args.rs` (+2 -1) 📝 `src/server.rs` (+25 -2) 📝 `tests/args.rs` (+1 -23) ➕ `tests/single_file.rs` (+60 -0) </details> ### 📄 Description close #101 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:04 +03:00
zhus closed this issue 2026-04-08 16:53:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#472