Revision 33b4e4a6 pithos/backends/base.py
b/pithos/backends/base.py | ||
---|---|---|
341 | 341 |
'version_timestamp': The version's modification timestamp |
342 | 342 |
|
343 | 343 |
'uuid': A unique identifier that persists data or metadata updates and renames |
344 |
|
|
345 |
'checksum': The MD5 sum of the object (may be empty) |
|
344 | 346 |
|
345 | 347 |
Raises: |
346 | 348 |
NotAllowedError: Operation not permitted |
... | ... | |
435 | 437 |
""" |
436 | 438 |
return 0, [] |
437 | 439 |
|
438 |
def update_object_hashmap(self, user, account, container, name, size, type, hashmap, domain, meta={}, replace_meta=False, permissions=None): |
|
440 |
def update_object_hashmap(self, user, account, container, name, size, type, hashmap, checksum, domain, meta={}, replace_meta=False, permissions=None):
|
|
439 | 441 |
"""Create/update an object with the specified size and partial hashes and return the new version. |
440 | 442 |
|
441 | 443 |
Parameters: |
... | ... | |
458 | 460 |
""" |
459 | 461 |
return '' |
460 | 462 |
|
463 |
def update_object_checksum(self, user, account, container, name, version, checksum): |
|
464 |
"""Update an object's checksum.""" |
|
465 |
return |
|
466 |
|
|
461 | 467 |
def copy_object(self, user, src_account, src_container, src_name, dest_account, dest_container, dest_name, type, domain, meta={}, replace_meta=False, permissions=None, src_version=None): |
462 | 468 |
"""Copy an object's data and metadata and return the new version. |
463 | 469 |
|
Also available in: Unified diff