]> OzVa Git service - ozva-cloud/commit
feat: hiding only directories instead of files (#175)
authorsigoden <sigoden@gmail.com>
Sun, 19 Feb 2023 14:03:59 +0000 (22:03 +0800)
committerGitHub <noreply@github.com>
Sun, 19 Feb 2023 14:03:59 +0000 (22:03 +0800)
commitb7c5119c2e1985e21a625c20710c318c8b1831f4
tree9bc9bbb8e720aa0f4c944291ce44144554968323
parent0000bd27f579f52e012f0a7f231300d7c92dfb97
feat: hiding only directories instead of files (#175)

A `--hidden` pattern with `/` suffix means hiding only directories not files.
A `--hidden` pattern without `/` will hide matching files and directories.
src/server.rs
tests/fixtures.rs
tests/hidden.rs