MCPcopy Create free account
hub / github.com/belak/gitdir / newTestRepoConfig

Function newTestRepoConfig

repo_test.go:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func newTestRepoConfig() *models.RepoConfig {
23 repo := models.NewRepoConfig()
24 repo.Write = []string{"write-user"}
25 repo.Read = []string{"read-user"}
26
27 return repo
28}
29
30func newTestConfig() *Config { //nolint:funlen
31 c := NewConfig(memfs.New())

Callers 1

newTestConfigFunction · 0.85

Calls 1

NewRepoConfigFunction · 0.92

Tested by

no test coverage detected