[Mono-list] Symbolic Links

cce32 cce32 at yahoo.com
Wed Nov 5 18:09:34 EST 2008


Hello,

Currently I develop in Visual Studio 2008 and run on Linux.

It appears directoryInfo.GetFiles("*", SearchOption.AllDirectories) returns
a FileInfo instance for both files and symlinks.  In other words I get
duplicates.

Is there any portable way to determine if a file is a symlink?  Or to ignore
symlinks with GetFiles?


Thanks,
/Carl
-- 
View this message in context: http://www.nabble.com/Symbolic-Links-tp20352025p20352025.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list