MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / get_pretty_allocation

Method get_pretty_allocation

vrtManager/storage.py:153–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 return long(util.get_xml_path(self._XMLDesc(0), "/pool/capacity"))
152
153 def get_pretty_allocation(self):
154 return util.pretty_bytes(self.get_allocation())
155
156 def get_pretty_available(self):
157 return util.pretty_bytes(self.get_available())

Callers

nothing calls this directly

Calls 1

get_allocationMethod · 0.95

Tested by

no test coverage detected