Getting the contenst of a mount point with a NSFileWrapper
Getting the contenst of a mount point with a NSFileWrapper
- Subject: Getting the contenst of a mount point with a NSFileWrapper
- From: Stefan Pantos <email@hidden>
- Date: Fri, 12 Jul 2002 21:33:55 +0000
I'm trying to get the contents of a directory. Now I have a piece of
code which does this using an NSFileWrapper but it doesn't work when the
path is a mount point such as "/" or "/Volumes/VolumeName/". The
NSFileWrapper isn't created and the init method used returns NULL. Also
there are no exceptions raised during it's constructions. Why is this
and how can I get round it?
Also from a path how can I get which volume it is on? I want to be able
to get the name of the volume which root is basted on.
Thanks,
Stefan Pantos
_______________________________________________
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.