import "github.com/egdaemon/eg/runtime/x/wasi/egdmg"
<a name="Build"></a>
func Build(b Specification, archive string) eg.OpFn
<a name="Name"></a>
func Name(pattern string) string
replaces the substitution values within the pattern, resulting in the final resulting archive file's name.
<a name="OptionMkisofs"></a>
func OptionMkisofs(d *Specification)
experimental mkisofs
<a name="Path"></a>
func Path(pattern string) string
Path from the given pattern
<a name="Option"></a>
type Option func(*Specification)
<a name="OptionBuildDir"></a>
func OptionBuildDir(s string) Option
directory to construct process the clone and then construct the file tree in. defaults to egenv.EphemeralDirectory
<a name="OptionDmgCmd"></a>
func OptionDmgCmd(s string) Option
OptionDmgCmd set the command to build the dmg. the string replacements must be in the following order:
<a name="OptionOutputDir"></a>
func OptionOutputDir(s string) Option
directory to place dmg, defaults to egenv.WorkloadDirectory
<a name="OptionOutputName"></a>
func OptionOutputName(s string) Option
filename to give to the resulting dmg file. defaults to {name}.dmg
<a name="OptionRuntime"></a>
func OptionRuntime(s shell.Command) Option
<a name="Specification"></a>
type Specification struct {
// contains filtered or unexported fields
}
<a name="New"></a>
func New(pattern string, options ...Option) Specification
New create a new dmg specification using the pattern and options.