The docs only mention files, but the executable flag can also be set for directories (which makes them traversable) and the lib treats them the same. I think this should be clarified in the docs.
Probably this crate should distinguish between files and directories. Docs could definitely also be improved. Happy to review a PR if you want to send one!
The docs only mention files, but the executable flag can also be set for directories (which makes them traversable) and the lib treats them the same. I think this should be clarified in the docs.