Skip to content

Avoid using Path::exists #1183

@workingjubilee

Description

@workingjubilee

Its use should probably be considered more discouraged than it already is, as it is prone to reporting non-existence in cases of permission errors which can make already-confusing build errors even harder to debug. This will improve diagnostics during builds.

Found while glancing at timescale/timescaledb-toolkit#762

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions