![]() Add convenient collection wrapper for easier getting selected volume. Storage pool implementation may still provide only volume listing function (pool.list_volumes), or, additionally, optimized pool.get_volume. This means it is both possible to iterate over volumes: ```python for volume in pool.volumes: ... ``` And get a single volume: ```python volume = pool.volumes[vid] ``` QubesOS/qubes-issues#2256 |
||
---|---|---|
.. | ||
api | ||
ext | ||
qmemman | ||
storage | ||
tests | ||
tools | ||
vm | ||
__init__.py | ||
app.py | ||
backup.py | ||
config.py | ||
core2migration.py | ||
devices.py | ||
dochelpers.py | ||
events.py | ||
exc.py | ||
firewall.py | ||
log.py | ||
rngdoc.py | ||
tarwriter.py | ||
utils.py |