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

Recursively list FILES in a folder #29

Open
4 tasks
starfys opened this issue Oct 6, 2018 · 0 comments
Open
4 tasks

Recursively list FILES in a folder #29

starfys opened this issue Oct 6, 2018 · 0 comments
Labels
arcade backend For code related to the backend running on the arcade machine new feature For new features

Comments

@starfys
Copy link
Member

starfys commented Oct 6, 2018

Please describe your issue.
We want to get a list of files in the frontend folder, then only serve those files

Describe the solution you'd like

  • A function fn list_files(dir: PathBuf) -> Result<Vec<PathBuf>, io::Error> that lists every file in the given directory and all subdirectory.
  • Function should be defined in router.rs
  • This function should fail if the given PathBuf is not a directory
  • The vec returned by this function should not return PathBufs to any directories, only files
@starfys starfys added arcade backend For code related to the backend running on the arcade machine new feature For new features labels Oct 6, 2018
@starfys starfys mentioned this issue Oct 6, 2018
5 tasks
@sremedios sremedios mentioned this issue Oct 9, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arcade backend For code related to the backend running on the arcade machine new feature For new features
Projects
None yet
Development

No branches or pull requests

1 participant