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

Please support more depth settings (not just infinite and 1) #353

Open
lithdoo opened this issue Aug 9, 2023 · 2 comments
Open

Please support more depth settings (not just infinite and 1) #353

lithdoo opened this issue Aug 9, 2023 · 2 comments

Comments

@lithdoo
Copy link

lithdoo commented Aug 9, 2023

I found that the deep option for getDirectoryContents can only control setting Depth 1 or infinite .

May I ask why can't configure a other level depth.

@perry-mitchell
Copy link
Owner

There's no hard reason here. I'd accept a PR to make it possible to specify, but it should:

  • Take priority over the deep option
  • Deprecate the deep option
  • Default to 1
  • Be typed correctly to be any number or infinity

@susnux
Copy link
Contributor

susnux commented Feb 4, 2024

The RFC only defines 0, 1 and infinity: https://datatracker.ietf.org/doc/html/rfc4918#section-9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants