Function: f-hidden?
f-hidden? is a function alias for f-hidden-p, defined in f.el.
Signature
(f-hidden? PATH &optional BEHAVIOR)
Documentation
Return t if PATH is hidden, nil otherwise.
BEHAVIOR controls when a path should be considered as hidden depending on its value. Beware, if PATH begins with "./", the current dir "." will not be considered as hidden.
When BEHAVIOR is nil, it will only check if the path begins with a dot, as in .a/b/c, and return t if there is one. This is the old behavior of f.el left as default for backward-compatibility purposes.
When BEHAVIOR is ANY, return t if any of the elements of PATH is hidden, nil otherwise.
When BEHAVIOR is LAST, return t only if the last element of PATH is hidden, nil otherwise.
TODO: Hidden directories and files on Windows are marked differently than on *NIX systems. This should be properly implemented.