5 // Mux splits and combines value from one or more source entries,
6 // making it available to one or more destination entries. It
7 // satisfies the Entry interface.
9 func (Mux) typ() string { return "mux1" }
10 func (m *Mux) writeForHash(w io.Writer) {
11 mustWriteForHash(w, m.Sources)
12 mustWriteForHash(w, m.Program)
13 mustWriteForHash(w, m.ExtHash)
16 // NewMux creates a new Mux.
17 func NewMux(sources []*ValueSource, program *Program) *Mux {