[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: How to detect symlinks?
- From: Rena <hyperhacker@...>
- Date: Sun, 29 Apr 2012 22:35:14 -0600
How with Lua/LFS can I tell if a file is a symlink? LFS has
symlinkattributes, but that only gives information about the link
itself, with no apparent way to tell if the file is actually a link or
not. (Given a non-symlink, it behaves identically to lfs.attributes.)
Can io.open be told not to follow links?
Sent from my Game Boy.