syzkaller/pkg/build/test.go
Dmitry Vyukov c487cd4633 pkg/build: refactor Image function arguments
Image takes too many arguments, so we need to do lots of forwarding,
adding new argumnets is painful and most OSes are not interested
in lots of arguments.
Combine all arguments into a params struct.
2019-11-06 11:41:05 +01:00

15 lines
319 B
Go

// Copyright 2019 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
package build
type test struct{}
func (tb test) build(params *Params) error {
return nil
}
func (tb test) clean(string, string) error {
return nil
}