[PR #175] [MERGED] feat: hiding only directories instead of files #501

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

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/175
Author: @sigoden
Created: 2/19/2023
Status: Merged
Merged: 2/19/2023
Merged by: @sigoden

Base: mainHead: feat-hidden-dir-only


📝 Commits (1)

  • e130afa feat: hiding only directories instead of files

📊 Changes

3 files changed (+53 additions, -11 deletions)

View changed files

📝 src/server.rs (+37 -11)
📝 tests/fixtures.rs (+1 -0)
📝 tests/hidden.rs (+15 -0)

📄 Description

A --hidden pattern with / suffix means hiding only directories not files.
A --hidden pattern without / will hide matching files and directories.
close #162


🔄 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/175 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 2/19/2023 **Status:** ✅ Merged **Merged:** 2/19/2023 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `feat-hidden-dir-only` --- ### 📝 Commits (1) - [`e130afa`](https://github.com/sigoden/dufs/commit/e130afaaf5db8970d8aae54228cd6ccac83b912f) feat: hiding only directories instead of files ### 📊 Changes **3 files changed** (+53 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/server.rs` (+37 -11) 📝 `tests/fixtures.rs` (+1 -0) 📝 `tests/hidden.rs` (+15 -0) </details> ### 📄 Description A `--hidden` pattern with `/` suffix means hiding only directories not files. A `--hidden` pattern without `/` will hide matching files and directories. close #162 --- <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:11 +03:00
zhus closed this issue 2026-04-08 16:53:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#501