Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for diffStringList (0.09 sec)

  1. operator/pkg/util/yaml.go

    func multiYamlDiffOutput(res, diff string) string {
    	if res == "" {
    		return diff
    	}
    	if diff == "" {
    		return res
    	}
    
    	return res + "\n" + diff
    }
    
    func diffStringList(l1, l2 []string) string {
    	var maxLen int
    	var minLen int
    	var l1Max bool
    	res := ""
    	if len(l1)-len(l2) > 0 {
    		maxLen = len(l1)
    		minLen = len(l2)
    		l1Max = true
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top