Closed
Description
Applications typically interact with resources in a single bucket (there are some exceptions). The Storage interface only provides ways to deal with global resources forcing the application to pass the bucket name around as an additional string. We should add a Bucket interface that supports common operations (CRUD, Copy, Move) within a single bucket.
For example:
@Resource Bucket data;
void download(String path) {
// do something like data.reader(path);
}