Skip to content

ispath should probably not dereference symlinks #60781

@Keno

Description

@Keno
This is not the behavior I would have expected given the documentation. Do we consider this a bug?
shell> ln -s nonexistent foo

julia> ispath("foo")
false

shell> ls
foo

help?> ispath
search: ispath abspath isabspath mkpath isdirpath joinpath relpath isspace splitpath isbits realpath popat! splat isa isnan stat isqrt

  ispath(path) -> Bool

  Return true if a valid filesystem entity exists at path, otherwise returns false. This is the generalization of isfile, isdir etc.

I find this behavior surprising. At the very least, the docs are misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions