-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve StorageInterface, add method
get
(#660)
* [sdk] Add default method StorageInterface#get - specifically for retrieving a single item from storage, without deep file traversal or requiring any iterables - default impl uses `at` underneath to implement it - update code in core to use it where suitable - also correct image servlet to only query for instances to DIM providers if specified * [sdk] Improve StorageInterface documentation - Fix example code in #at - Clarify in #list that a trailing forward slash means that it's a directory * Apply suggestions from code review
- Loading branch information
Showing
3 changed files
with
67 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters