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

Files: Support multiple paths in the mkdir operation #145

Open
nathandf opened this issue Feb 26, 2024 · 0 comments
Open

Files: Support multiple paths in the mkdir operation #145

nathandf opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nathandf
Copy link

Issue:
Currently, the Files API mkdir operation only supports creating a single path per call.

This has two negative consequences.

  • The first is, if the mkdir is not a true analog of the bash mkdir -p as the Linux operation Not that big of a deal, but that's what we tell users)
  • The second is, because we do not support the exact feature offered by mkdir, we have to make multiple API calls if we wanted to do something equivalent to mkdir -p path/1 another/1

Potential Solutions:

  • Allowing the path property in the request body to be either a string or an array of strings
  • Adding a mkdirs operation - This is probably the easiest solution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To Do
Development

No branches or pull requests

3 participants