Re: Indexing/Directory Enumeration
Re: Indexing/Directory Enumeration
- Subject: Re: Indexing/Directory Enumeration
- From: Matt Neuburg <email@hidden>
- Date: Thu, 24 Feb 2005 11:11:27 -0800
On or about 2/24/05 10:17 AM, thus spake "glenn andreas" <email@hidden>:
>
> On Feb 24, 2005, at 11:02 AM, Matt Neuburg wrote:
>
>> On Wed, 23 Feb 2005 16:16:57 -0600, Justin Spahr-Summers
>> <email@hidden> said:
>>> He has multiple recursive directories, in which case a simple
>>> NSDirectoryEnumerator wouldn't work, as it would only give the
>>> contents of the directory you specify.
>>
>> "An enumeration is recursive, including the files of all
>> subdirectories." In
>> other words, an NSDirectoryEnumerator does recurse, and indeed, one of
>> the
>> problems with it is getting it *not* to recurse (in case you wanted to
>> fill
>> your data structure recursively). m.
>>
>
> What about:
> - (void)skipDescendents
Obviously. My point was, however, that his claim, that
"NSDirectoryEnumerator wouldn't work, as it would only give the contents of
the directory you specify," was wrong. m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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