Versions in this module Expand all Collapse all v0 v0.1.0 Aug 29, 2026 Changes in this version + const AttrJournaled + const AttrSoftwareLock + const AttrUnmounted + const CNIDAllocation + const CNIDAttributes + const CNIDBadBlocks + const CNIDCatalog + const CNIDExtents + const CNIDFirstUser + const CNIDRootFolder + const CNIDRootParent + const CNIDStartup + const HeaderOff + const HeaderSize + const SigHFSPlus + const SigHFSX + func Format(c disk.Content, opt Options) error + type Extent struct + BlockCount uint32 + StartBlock uint32 + type Fork struct + ClumpSize uint32 + Extents [8]Extent + LogicalSize uint64 + TotalBlocks uint32 + type Options struct + BlockSize uint32 + CaseSensitive bool + Created time.Time + Name string + type Volume struct + func Mount(c disk.Content, writable bool) (*Volume, error) + func (v *Volume) CanWrite() bool + func (v *Volume) Close() error + func (v *Volume) CreateDir(path string) error + func (v *Volume) CreateFile(path string) error + func (v *Volume) Flush() error + func (v *Volume) Header() VolumeHeader + func (v *Volume) MkdirAll(path string) error + func (v *Volume) Name() string + func (v *Volume) OpenFile(path string, fork vfs.Fork, flag int) (vfs.File, error) + func (v *Volume) ReadDir(path string) ([]vfs.FileInfo, error) + func (v *Volume) Remove(path string) error + func (v *Volume) Rename(oldpath, newpath string) error + func (v *Volume) SetInfo(path string, info vfs.FileInfo) error + func (v *Volume) Stat(path string) (vfs.FileInfo, error) + func (v *Volume) VolumeLabel() string + type VolumeHeader struct + AllocationFile Fork + Attributes uint32 + AttributesFile Fork + BackupDate uint32 + BlockSize uint32 + CatalogFile Fork + CheckedDate uint32 + CreateDate uint32 + DataClumpSize uint32 + EncodingsBitmap uint64 + ExtentsFile Fork + FileCount uint32 + FinderInfo [8]uint32 + FolderCount uint32 + FreeBlocks uint32 + JournalInfoBlock uint32 + LastMountedVersion uint32 + ModifyDate uint32 + NextAllocation uint32 + NextCatalogID uint32 + RsrcClumpSize uint32 + Signature uint16 + StartupFile Fork + TotalBlocks uint32 + Version uint16 + WriteCount uint32 + func ParseHeader(b []byte) VolumeHeader + func (h VolumeHeader) CaseSensitive() bool + func (h VolumeHeader) Journaled() bool + func (h VolumeHeader) Marshal() []byte + func (h VolumeHeader) Valid() bool