func()

in vhdcore/footer/footer.go [82:108]


func (v *Footer) Equal(other *Footer) bool {
	if other == nil {
		return false
	}

	if v == other {
		return true
	}

	return v.Cookie.Equal(other.Cookie) &&
		v.Features == other.Features &&
		v.FileFormatVersion == other.FileFormatVersion &&
		v.HeaderOffset == other.HeaderOffset &&
		v.TimeStamp == other.TimeStamp &&
		v.CreatorApplication == other.CreatorApplication &&
		v.CreatorVersion == other.CreatorVersion &&
		v.CreatorHostOsType == other.CreatorHostOsType &&
		v.PhysicalSize == other.PhysicalSize &&
		v.VirtualSize == other.VirtualSize &&
		v.DiskGeometry.Equals(other.DiskGeometry) &&
		v.DiskType == other.DiskType &&
		v.CheckSum == other.CheckSum &&
		v.UniqueID == other.UniqueID &&
		v.SavedState == other.SavedState &&
		bytes.Equal(v.Reserved, other.Reserved) &&
		bytes.Equal(v.RawData, other.RawData)
}