You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nil cannot obtain information from file 'v:': No such file or directory
directory
directory
directory
nil cannot obtain information from file 'v:/rel/': No such file or directory
nil cannot obtain information from file 'v:/rel//': No such file or directory
true
nil File exists
true
nil File exists
So lfs.attributes does accept "/" at the end of a path, except it is the root directory.
Then you can even use "//".
But lfs.mkdir doesnt care at all.
Spend hours to find this bug in my code.
How is the situation on Linux? I didnt even try it yet.
Do I have to write a wrapper around each lfs function which expects a filepath, to find out what filepath does mean for each function and each platform?
The text was updated successfully, but these errors were encountered:
Assume your are on Windows 7 with some HDD v:/. There is also a folder v:/rel.
Try this:
Result:
So
lfs.attributes
does accept "/" at the end of a path, except it is the root directory.Then you can even use "//".
But
lfs.mkdir
doesnt care at all.Spend hours to find this bug in my code.
How is the situation on Linux? I didnt even try it yet.
Do I have to write a wrapper around each lfs function which expects a filepath, to find out what filepath does mean for each function and each platform?
The text was updated successfully, but these errors were encountered: