Ian Manske 944d941dec
path type error and not found changes (#13007)
# Description
Instead of an empty string, this PR changes `path type` to return null
if the path does not exist. If some other IO error is encountered, then
that error is bubbled up instead of treating it as a "not found" case.

# User-Facing Changes
- `path type` will now return null instead of an empty string, which is
technically a breaking change. In most cases though, I think this
shouldn't affect the behavior of scripts too much.
- `path type` can now error instead of returning an empty string if some
other IO error besides a "not found" error occurs.

Since this PR introduces breaking changes, it should be merged after the
0.94.1 patch.
2024-06-11 05:40:09 +08:00
..
2024-03-26 21:17:30 +00:00
2024-05-03 14:33:09 +03:00
2024-05-03 14:33:09 +03:00
2024-03-26 21:17:30 +00:00
2024-04-24 15:46:35 +00:00
2024-03-26 21:17:30 +00:00