
28 Aug
2008
28 Aug
'08
4:55 a.m.
On 2008 Aug 28, at 0:46, Nicolas Frisby wrote:
I think I've exhausted my options without catching exceptions.
If I have an invalid symbolic link, how can I identify that it exists?
getSymbolicLinkStatus vs. getFileStatus? The former will return if the link exists, the latter if its target does. (Where not returning means throwing an exception in IO.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH