Skip to content

Conversation

@martinspielmann
Copy link
Contributor

@martinspielmann martinspielmann commented Aug 19, 2017

First of all, thanks a lot for this cool lib 👍

I was trying to list all content of a directory and everything I found was the getFolders() method, so I thought the library doesn't provide the feature of listing everything yet... so I had a look at Sardine to find out that getFolders() already does exactly what I need :)

I marked getFolders() as deprecated and added listFolderContent() with a javadoc that is a bit clearer in my opinion.
Additionally there's now the possibility to provide a depth parameter to list file names and subfolders also recursively.

EDIT: Argh, just saw that I accidentally committed some formatting changes also, sorry :(. Please let me know if I should revert them in case you want to merge this PR

Copy link
Owner

@a-schild a-schild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing

@a-schild a-schild merged commit 155e67a into a-schild:master Aug 19, 2017
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

Successfully merging this pull request may close these issues.

2 participants