Skip to content

Commit

Permalink
Fixup: Re-add splatting methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Apr 8, 2024
1 parent 2b094d8 commit 3dcccf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/stat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,10 @@ for f in Symbol[
:issetgid,
:issticky,
]
@eval ($f)(path::AbstractString) = ($f)(stat(path))
@eval ($f)(path::AbstractString, paths::AbstractString...) = ($f)(stat(path, paths...))
end

islink(path::AbstractString) = islink(lstat(path))
islink(path::AbstractString, paths::AbstractString...) = islink(lstat(path, paths...))

# samefile can be used for files and directories: #11145#issuecomment-99511194
function samefile(a::StatStruct, b::StatStruct)
Expand Down

0 comments on commit 3dcccf9

Please sign in to comment.