Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct errors in WalkDir type docs #32

Closed
KodrAus opened this Issue Jun 14, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@KodrAus
Copy link
Contributor

KodrAus commented Jun 14, 2017

The docs on WalkDir have a few inaccuracies about the behaviour that should be corrected:

  • If contents_first is true, then directories aren't emitted before their contents
  • The order isn't unspecified if a sort_by function is given. Or does 'unspecified' mean something different here?

@KodrAus KodrAus referenced this issue Jun 14, 2017

Closed

Tracking issue for libz blitz evaluation of walkdir #47

22 of 22 tasks complete
@alisha17

This comment has been minimized.

Copy link
Contributor

alisha17 commented Jul 8, 2017

I can fix this. Where this has to be fixed in the docs?

@KodrAus

This comment has been minimized.

Copy link
Contributor Author

KodrAus commented Jul 8, 2017

Thanks @alisha17!

See this paragraph in the docs for WalkDir.

They state that directories are always emitted before the contents, and that using sort_by means the items will be emitted according to that ordering.

Let me know if you need any more details.

@BurntSushi

This comment has been minimized.

Copy link
Owner

BurntSushi commented Jul 17, 2017

Fixed by #74

@BurntSushi BurntSushi closed this Jul 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.