gitlab.com/evatix-go/core@v1.3.55/corecmp/IsStringsEqualPtr.go (about)

     1  package corecmp
     2  
     3  func IsStringsEqualPtr(leftLines, rightLines *[]string) bool {
     4  	if leftLines == nil && rightLines == nil {
     5  		return true
     6  	}
     7  
     8  	if leftLines == nil || rightLines == nil {
     9  		return false
    10  	}
    11  
    12  	length := len(*leftLines)
    13  
    14  	if length != len(*rightLines) {
    15  		return false
    16  	}
    17  
    18  	return IsStringsEqual(*leftLines, *rightLines)
    19  }