HiddenFiles.jl Documentation

Adding HiddenFiles.jl

julia> using Pkg
julia> Pkg.add("HiddenFiles") Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` Resolving package versions... Updating `~/.julia/packages/HiddenFiles/PNUBM/docs/Project.toml` [d01c2003] ~ HiddenFiles v0.1.0 `~/.julia/packages/HiddenFiles/PNUBM` โ‡’ v0.1.0 Updating `~/.julia/packages/HiddenFiles/PNUBM/docs/Manifest.toml` [d01c2003] ~ HiddenFiles v0.1.0 `~/.julia/packages/HiddenFiles/PNUBM` โ‡’ v0.1.0

Documentation

Main.HiddenFiles.ishidden โ€” Function
ishidden(f::AbstractString)

Check if a file or directory is hidden.

On Unix-like systems, a file or directory is hidden if it starts with a full stop/period (U+002e). On Windows systems, this function will parse file attributes to determine if the given file or directory is hidden.

Note

On macOS and BSD, this function will also check the st_flags field from stat to check if the UF_HIDDEN flag has been set.

Note

On macOS, any file or directory within a package or a bundle will be considered hidden.