ITADN

Add support for `***`, zsh style globstar that recurse symlinks

#224Closedfacelessuser 创建于 2024-09-25
S: triage
F
facelessusercommented
This could be enabled for those who wish to control recursive symlink searching on demand. I think it would use a flag `GLOBSTARLONG` (which is the opposite of the zsh flag wish shortens 3 to 2). This would normally be used instead of the `FOLLOW` flag, not with it. I think it would make sense if `FOLLOW` and `GLOBSTARLONG` are used together to defer to `GLOBSTARLONG`. Though, if used with `MATCHBASE` or `pathlib`'s `rglob`, `FOLLOW` would force a `***` to preceede the pattern vs `**`, and then `GLOBSTARLONG` would control explicit `**` or `***`. So that may be the only case using them together may make sense.
关闭于 2024-09-26 0 条评论