![]() If you expect it to exist and be writable to you, then create a temporary file there and if the that succeeds, the folder exists. There is a chance that you can learn whether the folder exists implicitly from an attempt to use it. If you were attempting to code in pure standard C, you would have the same issue. Standard C makes no presumptions about there actually being a file system of any specific sort out there (or even an operating system, for that matter), so the os and io modules don't provide access information not available from the standard C library. The problem is that the stock Lua distribution (nearly) only includes features that are specified in standard C. Allow us tour the quick-effects of a smoke tobacco that makes a lover physically. Sign in now to see your channels and recommendations! Watch Queue Queue.
0 Comments
Leave a Reply. |