phanindra1212 / gaevfs

Automatically exported from code.google.com/p/gaevfs
Apache License 2.0
0 stars 0 forks source link

Invoking FileObject.getChildren() on root directory includes the root directory in the returned array #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Invoking FileObject.getChildren() on the root directory includes the root 
directory in the returned array. This is probably happening because we're 
doing a query with the key of the root directory as the ancestor, and the 
root directory doesn't have a parent (so the ancestor-key query is 
matching the root directory key itself).

Original issue reported on code.google.com by vbonfa...@gmail.com on 2 Jul 2009 at 1:47

GoogleCodeExporter commented 8 years ago
Fixed for the 0.3 release by giving the root directory a parent key named 
"GaeVFS".

Original comment by vbonfa...@gmail.com on 3 Jul 2009 at 9:26