Ask a question to get started
Enter to send•Shift+Enter new line
PathState()
StrEnum
The path is present on disk.
The path is absent (and its parents are readable).
Existence could not be determined because Path.stat() raised.
Path.stat()
Typically EACCES when a parent directory denies traversal. Kept distinct from MISSING so diagnostics can flag it as a genuine problem rather than a not-yet-created path.
MISSING
Whether a probed path exists, is absent, or could not be read.
A StrEnum so the value serializes directly to JSON without a custom encoder.