Skip to content

getindex not working all the way #42

@Moelf

Description

@Moelf

tree[1] or similar with explicit Int works as defined by:

Base.getindex(tree::FileTree, i::Int) = tree.children[i]

but tree[end] doesn't work, nor does tree[1:10]. I think we should delegate all of these to tree.children

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions