Skip to content

getindex not working all the way #42

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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