• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager and fileAttributesAtPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSFileManager and fileAttributesAtPath (From: Nick Morris <email@hidden>)

  • Prev by Date: NSFileManager and fileAttributesAtPath
  • Next by Date: Re: Help with pixellated NSTIFFRepresentation issues much appreciated
  • Previous by thread: NSFileManager and fileAttributesAtPath
  • Next by thread: Re: Report Generation (with Excelsior!)
  • Index(es):
    • Date
    • Thread