> I would like to stop following symlinks, but It doesn't appear that the File
> API has any ability to detect symlinks. How were you thinking about doing
> this?

Argh, you are right of course. I somehow believed that *testing* for
whether a path is a symlink was part of File's API, but I failed to
confirm it.

In that case, I suggest putting a huge warning in the documentation at
least, as to the potential destructiveness of the operation.

(Ant's trick with canonical names feels shaky in the context of
something as general-purpose as delete-file)

-- 
/ Peter Schuller

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to