[squeak-dev] withAllFilesDo:andDirectoriesDo:
David T. Lewis
lewis at mail.msen.com
Mon Oct 21 20:22:41 UTC 2013
> (moving from newbies list)
>
> On 2013-10-21, at 20:25, "David T. Lewis" <lewis at mail.msen.com> wrote:
>
>> This may be closer to what you are looking for:
>>
>> FileDirectory default
>> withAllFilesDo: [:file | "Do something with the FileStream here"]
>> andDirectoriesDo: [:dir | "Do something with the FileDirectory
>> here"].
>
>
> Uh oh. So this actually opens all the files in all subdirectories? And
> doesn't close them? Don't we have something nicer?
>
It is rather horrible now that you mention it.
Dave
More information about the Squeak-dev
mailing list
|