Hacker News new | past | comments | ask | show | jobs | submit login

The File object encapsulates a path. If you use it, e.g. to read contents, and the file doesn't exist, then it will fail with an appropriate error message.

Files come and go. References to them go stale. Every user and tool deals with this. This isn't a "validation" issue.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: