Signed-off-by: Zheng Yin <zhengyin@huayun.com>
Get the size of the image. If open to a snapshot, returns the
size of that snapshot.
- :returns: the size of the image in bytes
+ :returns: int - the size of the image in bytes
"""
cdef uint64_t image_size
with nogil:
def get_snap_limit(self):
"""
Get the snapshot limit for an image.
+
+ :returns: int - the snapshot limit for an image
"""
cdef:
"""
Get the snapshot timestamp for an image.
:param snap_id: the snapshot id of a snap shot
+ :returns: datetime - the snapshot timestamp for an image
"""
cdef:
timespec timestamp