Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting folder size.




On Nov 29, 2007, at 3:56 AM, Gaurav Handa wrote:
I am new to Carbon API. Can anyone please let me know how to retrieve the size of a folder.

I tried using FSGetCatalogInfo but the documentation says it works only for files.

Do I need to traverse the entire folder to get the size myself


Yes. Use FSGetCatalogInfoBulk.

Please use plain text. It's easier to read and generates smaller messages.

Larry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Getting folder size. (From: "Gaurav Handa" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.