Skip to content

Tree.walk() does not return the correct entries on "end" #928

Description

@jdgarcia

Scenario files in your tree:

  • test.txt
  • foo/bar.txt

If you use tree.walk(), during the entry events, you will end up with test.txt and foo/bar.txt, but for the end event, you will get [foo/bar.txt, foo/bar.txt].

The end handler gives you files in the last tree it recursed through, with a duplicate entry for everything in it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions