lookfirst / sardine

an easy to use webdav client for java
Other
569 stars 184 forks source link

list(String url, depth = -1) doesn't do infinite depth #445

Closed MeurglysIII closed 10 months ago

MeurglysIII commented 10 months ago

List<DavResource> list(String url, int depth) is documented to look at infinite recursion if depth = -1, but for me it works the same as depth = 1. Is there any way to get all files in List<DavResource> without writing recursion myself (it works slow)

Thank you!