Revision bb4eafc6 pithos/backends/base.py
b/pithos/backends/base.py | ||
---|---|---|
388 | 388 |
return |
389 | 389 |
|
390 | 390 |
def get_object_public(self, user, account, container, name): |
391 |
"""Return the public URL of the object if applicable.
|
|
391 |
"""Return the public id of the object if applicable.
|
|
392 | 392 |
|
393 | 393 |
Raises: |
394 | 394 |
NotAllowedError: Operation not permitted |
... | ... | |
513 | 513 |
""" |
514 | 514 |
return [] |
515 | 515 |
|
516 |
def get_public(self, user, public): |
|
517 |
"""Return the (account, container, name) for the public id given. |
|
518 |
|
|
519 |
Raises: |
|
520 |
NotAllowedError: Operation not permitted |
|
521 |
|
|
522 |
NameError: Public id does not exist |
|
523 |
""" |
|
524 |
return None |
|
525 |
|
|
516 | 526 |
def get_block(self, hash): |
517 | 527 |
"""Return a block's data. |
518 | 528 |
|
Also available in: Unified diff