MCPcopy Create free account
hub / github.com/libgit2/git2go / seedTestRepo

Function seedTestRepo

git_test.go:91–93  ·  view source on GitHub ↗
(t *testing.T, repo *Repository)

Source from the content-addressed store, hash-verified

89}
90
91func seedTestRepo(t *testing.T, repo *Repository) (*Oid, *Oid) {
92 return seedTestRepoOpt(t, repo, commitOptions{})
93}
94
95func seedTestRepoOpt(t *testing.T, repo *Repository, opts commitOptions) (*Oid, *Oid) {
96 loc, err := time.LoadLocation("Europe/Berlin")

Callers 15

TestPatchFunction · 0.85
TestBlameFunction · 0.85
TestRevertFunction · 0.85
TestRevertCommitFunction · 0.85
TestCreateNoteFunction · 0.85
TestNoteIteratorFunction · 0.85
TestRemoveNoteFunction · 0.85
TestRemotePruneFunction · 0.85
TestCherrypickFunction · 0.85
TestCherrypickCommitFunction · 0.85
TestRemotePushFunction · 0.85

Calls 1

seedTestRepoOptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…