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

Add example for content_first #26

Closed
KodrAus opened this issue Jun 14, 2017 · 2 comments
Closed

Add example for content_first #26

KodrAus opened this issue Jun 14, 2017 · 2 comments

Comments

@KodrAus
Copy link
Contributor

KodrAus commented Jun 14, 2017

Add an example that demonstrates the content_first method. Maybe this can just be another example in the crate root docs. With a comment like:

// When contents_first is true outputs:
// `dir/first_file`
// `dir/last_file`
// `dir`

Does anyone have any thoughts on how the docs could illustrate the results of certain filters better?

@steveklabnik
Copy link

Does anyone have any thoughts on how the docs could illustrate the results of certain filters better?

One way would be to show results both with and without the filter; I think this is what you're alluding to above but am not sure.

@KodrAus
Copy link
Contributor Author

KodrAus commented Jun 14, 2017

@steveklabnik Yeh I was thinking something like that, maybe a hypothetical directory in a list or a tree-like ASCII diagram.

jcsoo added a commit to jcsoo/walkdir that referenced this issue Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants