Skip to content

Commit 77f38cb

Browse files
committed
Add ZFS check on macOS
Apparently you can get ZFS on macOS: https://github.com/openzfsonosx/zfs Addresses #1, #12, #13
1 parent 2b0ef9d commit 77f38cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HiddenFiles.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export ishidden
119119

120120

121121
#=== All macOS cases ===#
122-
_ishidden(f::AbstractString) = _ishidden_bsd_related(f) || _exists_inside_package_or_bundle(f)
122+
_ishidden(f::AbstractString) = _ishidden_bsd_related(f) || _exists_inside_package_or_bundle(f) || (iszfs() && _ishidden_zfs(f))
123123
elseif Sys.isbsd() # BSD
124124
_hidden(f::AbstractString) = _ishidden_bsd_related(f) || (iszfs() && _ishidden_zfs(f))
125125
else # General UNIX

0 commit comments

Comments
 (0)