code: 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
  	}
  }
docs: // Equal returns a bool indicating if the two PathExps are equivalent.