-
Notifications
You must be signed in to change notification settings - Fork 143
getListing exclude deleted items #720
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
Changes from 2 commits
7131aa4
ec8c84a
d73f728
d0b3fa3
76d4c36
ba30e65
d9acef7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,9 +14,12 @@ | |
| * | ||
| * A BaseClient deals with three types of data: folders, objects and files. | ||
| * | ||
| * <getListing> returns a list of all items within a folder, or undefined | ||
| * if a 404 is encountered. Items that end with a forward slash ("/") are | ||
| * child folders. | ||
| * <getListing> returns a mapping of all items within a folder. Items that | ||
| * end with a forward slash ("/") are child folders. For instance: | ||
| * { | ||
| * 'folder/': true, | ||
| * 'document.txt': true | ||
| * } | ||
| * | ||
| * <getObject> / <storeObject> operate on JSON objects. Each object has a type. | ||
| * | ||
|
|
@@ -199,9 +202,11 @@ | |
| * Example: | ||
| * (start code) | ||
| * client.getListing('', false).then(function(listing) { | ||
| * listing.forEach(function(item) { | ||
| * console.log(item); | ||
| * }); | ||
| * //listing is for instance: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't make sense. You just put a random object in a function in usable example code.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed (if I understood your objection correctly)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, now it's usable, but I found the old example better somehow. But that's just me. |
||
| * { | ||
| * 'folder/': true, | ||
| * 'document.txt': true | ||
| * }; | ||
| * }); | ||
| * (end code) | ||
| */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how that is in any way related. The whole idea of getting the info with a listing, is so that you don't have to download the file to get that info.
I think it should read something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed