python-swiftclient/swiftclient
Tim Burke 7a1e192803 Use bulk-delete middleware when available
When issuing `delete` commands that would require three or more
individual deletes, check whether the cluster supports bulk deletes
and use that if it's available.

Additionally, a new option is added to the `delete` command:

  * --prefix <prefix>

    Delete all objects that start with <prefix>. This is similar to the
    --prefix option for the `list` command.

Example:

$ swift delete c --prefix obj_prefix/

    ...will delete from container "c" all objects whose name begins with
    "obj_prefix/", such as "obj_prefix/foo" and "obj_prefix/bar".

Change-Id: I6b9504848d6ef562cf4f570bbcd17db4e3da8264
2016-01-12 15:40:57 -08:00
..
__init__.py Use Emacs-friendly coding line. 2014-05-26 14:35:03 +02:00
client.py Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
command_helpers.py Add per policy container count to account stat output 2014-09-19 17:07:48 -07:00
exceptions.py make ClientException.http_status default to None rather than 0 2015-09-04 16:24:54 -07:00
multithreading.py Python 3: Replacing unicode with six.text_type for py3 compatibility 2015-06-28 07:40:26 +05:30
service.py Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
shell.py Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
utils.py Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
version.py Fix some typos 2015-12-30 11:01:33 -08:00