File: multihash-support-629e9cbc283a8b47.yaml

package info (click to toggle)
python-glance-store 5.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,888 kB
  • sloc: python: 18,046; sh: 41; makefile: 34
file content (13 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
prelude: >
  This release adds support for Glance multihash computation.
features:
  - |
    A new function, ``store_add_to_backend_with_multihash``, has been
    added.  This function wraps each store's ``add`` method to provide
    consumers with a constant interface.  It is similar to the existing
    ``store_add_to_backend`` function but requires the caller to
    specify an additional ``hashing_algo`` argument whose value is
    a hashlib algorithm identifier.  The function returns a 5-tuple
    containing a ``multihash`` value, which is a hexdigest of the
    stored data computed using the specified hashing algorithm.