def get_size_info(api, volume):
 backing_file = api._root_path.descendant(['unattached', _backing_file_name(volume)])
 backing_file.restat()
 actual = (backing_file.statinfo.st_blocks * 512)
 reported = backing_file.getsize()
 return _SizeInfo(actual=actual, reported=reported)

def get_size_info ( api , volume ) : backing_file = api . _root_path . descendant ( [ 'unattached' , _backing_file_name ( volume ) ] ) backing_file . restat ( ) actual = ( backing_file . statinfo . st_blocks * 512 ) reported = backing_file . getsize ( ) return _SizeInfo ( actual = actual , reported = reported )
retrieve information about the size of the backing file for the given volume .