func (pe *PathExp) Equal(other *PathExp) bool {

	switch {
	case pe.org != other.org:
		return false
	case pe.project != other.project:
		return false
	case !segmentsEqual(pe.envs, other.envs):
		return false
	case !segmentsEqual(pe.services, other.services):
		return false
	case !segmentsEqual(pe.identities, other.identities):
		return false
	case !segmentsEqual(pe.instances, other.instances):
		return false
	default:
		return true
	}
}
// Equal returns a bool indicating if the two PathExps are equivalent.
Equal returns a bool indicating if the two PathExps are equivalent.
// Equal returns a bool indicating if the two PathExps are equivalent .
func (pe *PathExp) Equal(other *PathExp) bool {
	switch {
	case pe.org != other.org:
		return false
	case pe.project != other.project:
		return false
	case !segmentsEqual(pe.envs, other.envs):
		return false
	case !segmentsEqual(pe.services, other.services):
		return false
	case !segmentsEqual(pe.identities, other.identities):
		return false
	case !segmentsEqual(pe.instances, other.instances):
		return false
	default:
		return true
	}
}
func ( pe * PathExp ) Equal ( other * PathExp ) bool { switch { case pe . org != other . org : return false case pe . project != other . project : return false case ! segmentsEqual ( pe . envs , other . envs ) : return false case ! segmentsEqual ( pe . services , other . services ) : return false case ! segmentsEqual ( pe . identities , other . identities ) : return false case ! segmentsEqual ( pe . instances , other . instances ) : return false default : return true } }
Equal returns a bool indicating if the two PathExps are equivalent.
Equal returns a bool indicating if the two PathExps are equivalent .