-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest: change signature of
manifest.Serialize()
This commit changes the signature of `SerializeFull()` to take a new `Inputs` struct and a new `Options` struct. The `inputs` make it easier to extend the function as for new inputs the signature no longer needs to change. And `options` allows us to pass extra paramters like what rpm downloader to use. Note that this keeps a compatibility Serialize() for now, mostly to avoid churn in this PR but we definitely want to clean this up and fix the callers.
- Loading branch information
Showing
1 changed file
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters