(w io.Writer)
| 10 | |
| 11 | func (Output) typ() string { return "output1" } |
| 12 | func (o *Output) writeForHash(w io.Writer) { |
| 13 | mustWriteForHash(w, o.Source) |
| 14 | mustWriteForHash(w, o.ControlProgram) |
| 15 | mustWriteForHash(w, o.Data) |
| 16 | mustWriteForHash(w, o.ExtHash) |
| 17 | } |
| 18 | |
| 19 | // NewOutput creates a new Output. |
| 20 | func NewOutput(source *ValueSource, controlProgram *Program, data *Hash, ordinal uint64) *Output { |
nothing calls this directly
no test coverage detected