Documentation ¶
Index ¶
- func AssertLatestReflogEqual(t *testing.T, s ref.Store, name string, rl *ref.Reflog)
- func AssertReflogEqual(t *testing.T, a, b *ref.Reflog)
- func AssertReflogReaderContains(t *testing.T, rs ref.Store, name string, logs ...*ref.Reflog)
- func AssertTransactionEqual(t *testing.T, a, b *ref.Transaction)
- func AssertTransactionSliceEqual(t *testing.T, a, b []*ref.Transaction)
- func RandomReflog() *ref.Reflog
- func SaveTestCommit(t *testing.T, db objects.Store, parents [][]byte) (sum []byte, commit *objects.Commit)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertLatestReflogEqual ¶
func AssertReflogReaderContains ¶ added in v0.10.1
func AssertTransactionEqual ¶ added in v0.10.1
func AssertTransactionEqual(t *testing.T, a, b *ref.Transaction)
func AssertTransactionSliceEqual ¶ added in v0.10.1
func AssertTransactionSliceEqual(t *testing.T, a, b []*ref.Transaction)
func RandomReflog ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.