fix: hidden don't works on some files (#188)

like --hidden '*.abc-cba' matches xyz.abc-cba but do not matches 123.xyz.abc-cba
This commit is contained in:
sigoden
2023-03-03 07:15:46 +08:00
committed by GitHub
parent 45f4f5fc58
commit 0e12b285cd
4 changed files with 23 additions and 47 deletions

7
Cargo.lock generated
View File

@@ -444,6 +444,7 @@ dependencies = [
"diqwest",
"form_urlencoded",
"futures",
"glob",
"headers",
"hyper",
"if-addrs",
@@ -683,6 +684,12 @@ dependencies = [
"wasi 0.11.0+wasi-snapshot-preview1",
]
[[package]]
name = "glob"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "globset"
version = "0.4.10"