mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #532] [CLOSED] Regex support in addition to glob masks #634
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/532
Author: @zhus
Created: 1/24/2025
Status: ❌ Closed
Base:
main← Head:regex📝 Commits (3)
11533e8hidin full system paths by regex95e902cargs process add hidden-pathb3ee36dhidden-path sample update📊 Changes
4 files changed (+60 additions, -6 deletions)
View changed files
📝
Cargo.toml(+1 -0)📝
src/args.rs(+24 -1)📝
src/server.rs(+27 -5)📝
src/utils.rs(+8 -0)📄 Description
Hi! We discussed last time that you can't break compatibility with existing configurations. I completely agree with this and prepared a patch that adds regular expression filters in addition to glob mask filters. Using regular expressions it is easy to implement, for example, a hidden root folder or a hidden folder anywhere in the file system, etc. I don't know if this proposal will be accepted in your project, but on my server it works exactly like this :))
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.