Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Alex Keresztes <email@hidden>
- Date: Mon, 15 Apr 2002 02:49:12 -0500
Couldn't you just use NSFileManager's
- (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)cStringPath
to get the actual path the alias is pointing to?
Alex
On 4/15/02 2:40 AM, "Robert Fischer" <email@hidden> wrote:
>
Hi there,
>
>
is it possible that NSFileManager does'nt know anything about alias files?
>
It does'nt see that its a directory (e.g.) with
>
'fileExistsAtPath:isDirectory:' and can't copy into it with
>
copyPath:toPath:handler:.
>
Hmmm, so I had to do strange Carbon stuff with FSSpec/FSRef magic to get
>
the target of the alias.
>
>
Is there an easier way to accomplish this? Do you also think, that
>
NSFileManager should support aliases transparently?
>
>
>
CU,
>
>
Robert
>
>
>
--
>
--- - .-. -- --
>
--- / \ ---- Robert Fischer
>
.-. / \ --- .-. __o .-. @
>
/ \ / \ / \ _`\<,_ / \ berlin.de
>
/ \ / \ / \ (*)/ (*) / `--------------
>
/ `---' `-' `-----------'
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.