func ModulePinEqual(a ModulePin, b ModulePin) bool {
	if (a == nil) != (b == nil) {
		return false
	}
	if a == nil {
		return true
	}
	return a.Remote() == b.Remote() &&
		a.Owner() == b.Owner() &&
		a.Repository() == b.Repository() &&
		a.Branch() == b.Branch() &&
		a.Commit() == b.Commit() &&
		a.Digest() == b.Digest() &&
		a.CreateTime().Equal(b.CreateTime())
}
// ModulePinEqual returns true if a equals b.
ModulePinEqual returns true if a equals b.
// ModulePinEqual returns true if a equals b .
func ModulePinEqual(a ModulePin, b ModulePin) bool {
	if (a == nil) != (b == nil) {
		return false
	}
	if a == nil {
		return true
	}
	return a.Remote() == b.Remote() &&
		a.Owner() == b.Owner() &&
		a.Repository() == b.Repository() &&
		a.Branch() == b.Branch() &&
		a.Commit() == b.Commit() &&
		a.Digest() == b.Digest() &&
		a.CreateTime().Equal(b.CreateTime())
}
func ModulePinEqual ( a ModulePin , b ModulePin ) bool { if ( a == nil ) != ( b == nil ) { return false } if a == nil { return true } return a . Remote ( ) == b . Remote ( ) && a . Owner ( ) == b . Owner ( ) && a . Repository ( ) == b . Repository ( ) && a . Branch ( ) == b . Branch ( ) && a . Commit ( ) == b . Commit ( ) && a . Digest ( ) == b . Digest ( ) && a . CreateTime ( ) . Equal ( b . CreateTime ( ) ) }
ModulePinEqual returns true if a equals b.
ModulePinEqual returns true if a equals b .