hunk.code_window: }
   // MarketplacePlugin is a state aware marketplace plugin.
   type MarketplacePlugin struct {
   	*BaseMarketplacePlugin
   	InstalledVersion string `json:"installed_version"`
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit: // MarketplaceLabel represents a label shown in the Marketplace UI.
   type MarketplaceLabel struct {
   	Name        string `json:"name"`
   	Description string `json:"description"`
   	URL         string `json:"url"`
   	Color       string `json:"color"`
   }
   // MarketplacePlugin is a state aware Marketplace plugin.
  
hunk.file_path: model/marketplace_plugin.go
hunk.type: replace
file: package multierror
  
  // Len implements sort.Interface function for length
  func (err Error) Len() int {
  	return len(err.Errors)
  }
  
  // Swap implements sort.Interface function for swapping elements
  func (err Error) Swap(i, j int) {
  	err.Errors[i], err.Errors[j] = err.Errors[j], err.Errors[i]
  }
  
  // Less implements sort.Interface function for determining order
  func (err Error) Less(i, j int) bool {
  	return err.Errors[i].Error() < err.Errors[j].Error()
  }
  