Versions in this module Expand all Collapse all v1 v1.2.1 Jun 18, 2021 Changes in this version + const DKIOCGETBLOCKCOUNT — darwin/amd64 + const DKIOCGETBLOCKSIZE — darwin/amd64 + const DKIOCGETPHYSICALBLOCKSIZE — darwin/amd64 + func Create(device string, size int64, format Format) (*disk.Disk, error) + func Open(device string) (*disk.Disk, error) + func OpenWithMode(device string, mode OpenModeOption) (*disk.Disk, error) + type Format int + const Raw + type OpenModeOption int + const ReadOnly + const ReadWriteExclusive + func (m OpenModeOption) String() string