Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hide specified files and dirs #2089

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

TobisLee
Copy link
Contributor

Try to fix #694.

Works with the given regex string:
https://github.com/TobisLee/yazi/blob/2fdd7b6f554dd4e15648ed8f611bd83cedd511c8/yazi-shared/src/url/urn.rs#L22
but failed with hidden_rule config:
https://github.com/TobisLee/yazi/blob/2fdd7b6f554dd4e15648ed8f611bd83cedd511c8/yazi-shared/src/url/urn.rs#L23

Cargo shows

error: cyclic package dependency: package `yazi-config v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-config)` depends on itself. Cycle:
package `yazi-config v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-config)`
    ... which satisfies path dependency `yazi-config` (locked to 0.4.3) of package `yazi-shared v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-shared)`
    ... which satisfies path dependency `yazi-shared` (locked to 0.4.3) of package `yazi-fs v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-fs)`
    ... which satisfies path dependency `yazi-fs` (locked to 0.4.3) of package `yazi-config v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-config)`
    ... which satisfies path dependency `yazi-config` (locked to 0.4.3) of package `yazi-adapter v0.4.3 (/home/tlss/repos/rust_project/yazi/yazi-adapter)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide specified files or directories
1 participant