[squeak-dev] withAllFilesDo:andDirectoriesDo:

Chris Muller asqueaker at gmail.com
Tue Oct 22 18:15:10 UTC 2013


OMG that needs to be fixed or deleted.

On Mon, Oct 21, 2013 at 1:51 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> (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?
>
> - Bert -
>
>
>


More information about the Squeak-dev mailing list