I want to get the colour of a symlink (NOT the colour of the thing the symlinks points at).
Is there a Cocoa way to get this?

Currently I am using FSPathMakeRef (or CFURLGetFSRef) to get an FSRef, and then FSGetCatalogInfo to get the colour.

But both FSPathMakeRef and CFURLGetFSRef seem to follow through symlinks (not aliases though). So I always get the colour of the destination (or an error if the symlink is broken).

How can I get the colour of my symlink?

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to