code: func (d *ClientDigestsFile) Equal(a *ClientDigestsFile) bool {
  	if len(d.entries) != len(a.entries) {
  		return false
  	}
  	for i, l := range d.entries {
  		if r := a.entries[i]; l.plat != r.plat || !proto.Equal(l.ref, r.ref) {
  			return false
  		}
  	}
  	return true
  }
docs: // Equal returns true if files have same entries in same order.