Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateBuildList ¶
func UpdateBuildList(target module.Version, modulesToUpgrade []module.Version, modulesToDowngrade []module.Version, reqs *ReqsGraph) ([]module.Version, error)
UpdateBuildList decides whether to upgrade or downgrade based on modulesToUpgrade and modulesToDowngrade. if modulesToUpgrade is empty, upgrade all dependencies. if modulesToUpgrade is not empty, upgrade the dependencies. if modulesToDowngrade is not empty, downgrade the dependencies. if modulesToUpgrade and modulesToDowngrade are both empty, first apply upgrade operation and then downgrade the build list returned from previous operation.
Types ¶
Click to show internal directories.
Click to hide internal directories.