[PR #299] [MERGED] feat: more flexible config values #556

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

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/299
Author: @sigoden
Created: 11/26/2023
Status: Merged
Merged: 11/26/2023
Merged by: @sigoden

Base: mainHead: feat-config


📝 Commits (3)

📊 Changes

6 files changed (+226 additions, -26 deletions)

View changed files

📝 Cargo.lock (+12 -0)
📝 Cargo.toml (+1 -0)
📝 README.md (+8 -9)
📝 src/args.rs (+202 -14)
📝 src/auth.rs (+1 -1)
📝 src/http_logger.rs (+2 -2)

📄 Description

bind and hidden are support both strings and string arrays.

bind: 0.0.0.0
hidden: tmp,*.log,*.lock
bind:
  - 127.0.0.1
  - 192.168.8.10
hidden:
  - tmp
  - '*.log'
  - '*.lock'

🔄 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/299 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 11/26/2023 **Status:** ✅ Merged **Merged:** 11/26/2023 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `feat-config` --- ### 📝 Commits (3) - [`bd361ab`](https://github.com/sigoden/dufs/commit/bd361ab73ac3b6ed991e2341e3e32db33f925fe8) feat: more flexible config values - [`36b6c63`](https://github.com/sigoden/dufs/commit/36b6c63cad0866d350a30dd4ff437b6ab723b8e1) fix tests - [`52321c0`](https://github.com/sigoden/dufs/commit/52321c0c4786a4e51ad1f9b38e37266023727038) update readme ### 📊 Changes **6 files changed** (+226 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+12 -0) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+8 -9) 📝 `src/args.rs` (+202 -14) 📝 `src/auth.rs` (+1 -1) 📝 `src/http_logger.rs` (+2 -2) </details> ### 📄 Description `bind` and `hidden` are support both strings and string arrays. ``` bind: 0.0.0.0 hidden: tmp,*.log,*.lock ``` ``` bind: - 127.0.0.1 - 192.168.8.10 hidden: - tmp - '*.log' - '*.lock' ``` --- <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:25 +03:00
zhus closed this issue 2026-04-08 16:53:25 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#556