Ok, i think i came up w/ a good solution for nsIFile GetTarget.

Here are the semantics.

- If the file is a valid symlink, we return the ultimate target.

- If the file is a valid multi-layered symlink, we return the ultimate 
target.

- If the file is a dangling (broken) link, we return the link it points to.

- If the link is a circular loop, we return the link it points to.


This is the way i currently have it implemented.

I'm interested to see if this is a good solution.

Thanks

--pete


Reply via email to