Re: NSFileManager and fileAttributesAtPath
Re: NSFileManager and fileAttributesAtPath
- Subject: Re: NSFileManager and fileAttributesAtPath
- From: j o a r <email@hidden>
- Date: Fri, 8 Oct 2004 13:25:26 +0200
On 2004-10-08, at 13.10, Nick Morris wrote:
When fileAttributesAtPath, which is part of NSFileManager, is called
is the program/system loading the full file, part of the file, or
querying some sort of system database?
Why do you expect that it would need to load the file to check file
system meta data like size, creation date, et.c.? It doesn't do that,
AFAIK.
While we're on the topic: Please note that there is a bug in
NSFileModificationDate. It doesn't work on file systems that doesn't
support the notion on modification dates (NFS, possibly others) and
will return a very incorrect date. This is not documented.
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden