Open Moelf opened 3 years ago
tree[1] or similar with explicit Int works as defined by: https://github.com/shashi/FileTrees.jl/blob/43d7baa30db521adc190cd5f0f0e2140e421bc97/src/datastructure.jl#L185
tree[1]
Int
but tree[end] doesn't work, nor does tree[1:10]. I think we should delegate all of these to tree.children
tree[end]
tree[1:10]
tree.children
Good point. Would consider a PR for this!
tree[1]
or similar with explicitInt
works as defined by: https://github.com/shashi/FileTrees.jl/blob/43d7baa30db521adc190cd5f0f0e2140e421bc97/src/datastructure.jl#L185but
tree[end]
doesn't work, nor doestree[1:10]
. I think we should delegate all of these totree.children