Versions in this module Expand all Collapse all v0 v0.1.0 Jun 1, 2026 Changes in this version + func ConvertToRaw(src, dst string, w io.Writer) error + func Create(path string, sizeBytes int64) error + func IsQCOW2File(path string) bool + type Device struct + func OpenDevice(path string) (*Device, error) + func (d *Device) Close() error + func (d *Device) Fd() uintptr + func (d *Device) ReadAt(p []byte, off int64) (int, error) + func (d *Device) Size() (int64, error) + func (d *Device) Sync() error + func (d *Device) Truncate(size int64) error + func (d *Device) WriteAt(p []byte, off int64) (int, error) + type Format struct + func (Format) Create(path string, sizeBytes int64) error + func (Format) Detect(path string) (bool, error) + func (Format) Name() string + func (Format) Resize(path string, newSizeBytes int64) error + func (Format) ToRaw(src, dst string, w io.Writer) error