Re: How to detect symlinks?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How to detect symlinks?
- From: steve donovan <steve.j.donovan@...>
- Date: 2012年4月30日 12:40:05 +0200
On Mon, Apr 30, 2012 at 12:03 PM, Tony Finch <dot@dotat.at> wrote:
> Sounds like you want readlink() but it looks like LuaFileSystem doesn't
> include a binding for that system call.
luaposix's posix.readlink does exactly what you need then; it only
returns non-nil for actual symbolic links.
steve d.