Help us shape the future of Go! Take the 2026 Go Developer Survey

testdiskimage

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package testdiskimage builds disk image fixtures from synthetic files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(t testing.TB, filename, sourceDir string)

Write creates a zlib-compressed HFSX DMG containing sourceDir's children.

func WriteXattrs added in v0.8.2

func WriteXattrs(t testing.TB, filename, sourceDir string, xattrs map[string]map[string][]byte)

WriteXattrs is Write with extended attributes for the files at slash-separated paths relative to sourceDir.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL