osbuild2: files input is a valid copy stage input
Mark the `FilesInput` as valid input for the copy stage input so it can be used in the constructor helper function(s). Co-Developed-by: Achilleas Koutsou <achilleas@koutsou.net> Co-Developed-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
d27596b24a
commit
cda1884de3
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ func NewFilesInputs(references FilesInputReferences) *FilesInputs {
|
||||||
// inputs accepted by the XZ stage
|
// inputs accepted by the XZ stage
|
||||||
func (FilesInputs) isXzStageInputs() {}
|
func (FilesInputs) isXzStageInputs() {}
|
||||||
|
|
||||||
|
// inputs accepted by the Copy stage
|
||||||
|
func (FilesInputs) isCopyStageInputs() {}
|
||||||
|
|
||||||
// SPECIFIC INPUT STRUCTURE
|
// SPECIFIC INPUT STRUCTURE
|
||||||
|
|
||||||
type FilesInput struct {
|
type FilesInput struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue