summaryrefslogtreecommitdiffstats
path: root/python/t/010-basic.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-29 19:03:37 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-07 11:22:52 +0100
commit6aa281b7e8ca4f63dd5d5750184352ecd6e68fda (patch)
treee13bc7bf3ef7c315fe0e83e2affa2c7536023b6e /python/t/010-basic.py
parent8deae6d2cc27f84d8b1c7112de2b41a2346670b8 (diff)
downloadlibguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.tar.gz
libguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.tar.xz
libguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.zip
New API: guestfs_nr_devices
This returns the number of whole block devices added. It is usually simpler to call this than to list the devices and count them, which is what we do in some places in the current codebase. (cherry picked from commit 152b179a19e43fcb0baec65ea65d394ee1dba891)
Diffstat (limited to 'python/t/010-basic.py')
0 files changed, 0 insertions, 0 deletions