MCPcopy Index your code
hub / github.com/go-git/go-git / buildBasicRepository

Method buildBasicRepository

common_test.go:42–45  ·  view source on GitHub ↗
(_ *C)

Source from the content-addressed store, hash-verified

40}
41
42func (s *BaseSuite) buildBasicRepository(_ *C) {
43 f := fixtures.Basic().One()
44 s.Repository = s.NewRepository(f)
45}
46
47// NewRepository returns a new repository using the .git folder, if the fixture
48// is tagged as worktree the filesystem from fixture is used, otherwise a new

Callers 1

SetUpSuiteMethod · 0.95

Calls 1

NewRepositoryMethod · 0.95

Tested by

no test coverage detected