hfsplus

Apple HFS+ (Mac OS Extended) and its HFSX (case-sensitive) variant.
Implements filesystem.Filesystem. No cgo, no root.
Status
| Read | Write | Format | Label | Symlinks | On-disk format |
|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | HFS+ / HFSX, big-endian catalog + extents-overflow B-trees |
Supported
- Read/write files
- Directories, rename
SetLabel/Symlink/Truncate(optionalLabeller/Symlinker/Truncatercapabilities)- MBR/GPT auto-detect
Install
go get github.com/go-filesystems/hfsplus
- Source: https://github.com/go-filesystems/hfsplus
- API reference: https://pkg.go.dev/github.com/go-filesystems/hfsplus
Note
See the module's README for full, up-to-date details.