<!-- Code generated by gomarkdoc. DO NOT EDIT -->

In Development Package, API may change between versions.

import "github.com/egdaemon/eg/runtime/x/wasi/egdmg"

<a name="Build"></a>

func Build

func Build(b Specification, archive string) eg.OpFn

<a name="Name"></a>

func Name

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

func OptionMkisofs(d *Specification)

experimental mkisofs

<a name="Path"></a>

func Path

func Path(pattern string) string

Path from the given pattern

<a name="Option"></a>

type Option

type Option func(*Specification)

<a name="OptionBuildDir"></a>

func OptionBuildDir

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

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

func OptionOutputDir(s string) Option

directory to place dmg, defaults to egenv.WorkloadDirectory

<a name="OptionOutputName"></a>

func OptionOutputName

func OptionOutputName(s string) Option

filename to give to the resulting dmg file. defaults to {name}.dmg

<a name="OptionRuntime"></a>

func OptionRuntime

func OptionRuntime(s shell.Command) Option

<a name="Specification"></a>

type Specification

type Specification struct {
    // contains filtered or unexported fields
}

<a name="New"></a>

func New

func New(pattern string, options ...Option) Specification

New create a new dmg specification using the pattern and options.