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 Paths::files and Paths::dirs #65

Open
vitiral opened this issue Jan 29, 2018 · 2 comments
Open

Add Paths::files and Paths::dirs #65

vitiral opened this issue Jan 29, 2018 · 2 comments

Comments

@vitiral
Copy link
Contributor

vitiral commented Jan 29, 2018

This issue proposes adding the following methods:

  • Paths::files(self) -> Files: returns an iterator of only file types.
  • Paths::dirs(self) -> Dirs: returns an iterator of only directory types.

In both cases, symlinks are resolved as either files or dirs and returned as the original paths.

If you approve I can implement this.

@NicTanghe
Copy link

I`m a bit confuzed on how ergo-fs whoud fix this, does it work on windows ?

@vitiral
Copy link
Contributor Author

vitiral commented Jul 5, 2021

I... don't remember. I'm not actively working on rust any longer. Feel free to close.

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