rados_trunc

Resize an object

If this enlarges the object, the new area is logically filled with zeroes. If this shrinks the object, the excess data is removed.

@param io the context in which to truncate @param oid the name of the object @param size the new size of the object in bytes @returns 0 on success, negative error code on failure

extern (C)
int
rados_trunc
(,
const(char)* oid
,
ulong size
)

Meta