Sorry just seen what you mean. The screen shot is all I can do.

Sent from my Huawei tablet


-------- Original Message --------
Subject: [Pharo-users] Re: Code not showing all items in directory
From: Stéphane Ducasse
To: Any question about pharo is welcome
CC:


can you show us your file names?

and a ls of your directory?

On 7 Mar 2021, at 20:58, David Pennington <da...@totallyobjects.com> wrote:

Hi there. I am a long time user of VAST recently moved to Pharo. I have a directory that contains 20 JSON  items. I am using the following code to load all of them into a collection.

bucketList


| top fileDirectory bucketList nameList |
top := FileSystem disk workingDirectory.
fileDirectory := top / 'TinyKVDB' / self bucket.
bucketList := fileDirectory children.
nameList := SortedCollection new.
bucketList
do: [ :each |
nameList add: each asString ] .
^ nameList

The code is only loading 18 of the items in the directory. I cannot see that there is anything different between there 18 and the other 2. Can anyone give me some clues here?

David
TotallyObjects

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply via email to