Open
Description
I couldn't find an issue for this. I was expecting there to be an optional keyword argument for readdir
to omit hidden files and directories. Currently I'm doing this
function non_hidden_files(dir; kwargs...)
files = readdir(dir; kwargs...)
filter(!startswith(".") ∘ basename, files)
end
which works for hidden files but not for hidden directories. It seems like it would be handy to have an omit_hidden
or similar option for readdir
.
I encountered this because of the pesky .DS_Store
files on MacOS. 😂
Metadata
Metadata
Assignees
Labels
No labels