3 ms·
Suppose you store the result somewhere and then want to use it afterwards. How do you check if they are still valid files?
by fooker 2y ago
Suppose you store the result somewhere and then want to use it afterwards.
How do you check if they are still valid files?
- geophile 2y agoThe 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.