Suggestion: Allow null container name to indicate root container for blob APIs #82

Closed
jcookems opened this Issue May 20, 2012 · 1 comment

Projects

None yet

2 participants

@jcookems
Contributor

Currently, there are two ways to indicate that the root container should be used in the blob APIs:

// Explicitly indicate root:
service.getBlob("$root", blob);
// Implicitly indicate, using an empty string:
service.getBlob("", blob);

It seems natural that null could also be used to indicate the root container (even more natural than an empty string), because null means "no container". That would allow code like this to work:

service.getBlob(null, blob);

One potential downside would make it harder to debug issues where the container name is not initialized.

@gcheng
gcheng commented Apr 10, 2013

feature request.

@gcheng gcheng closed this Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment