MCPcopy Index your code
hub / github.com/rilldata/rill / putRepo

Function putRepo

runtime/parser/parser_test.go:2535–2540  ·  view source on GitHub ↗
(t testing.TB, repo drivers.RepoStore, files map[string]string)

Source from the content-addressed store, hash-verified

2533}
2534
2535func putRepo(t testing.TB, repo drivers.RepoStore, files map[string]string) {
2536 for path, data := range files {
2537 err := repo.Put(context.Background(), path, strings.NewReader(data))
2538 require.NoError(t, err)
2539 }
2540}
2541
2542func deleteRepo(t testing.TB, repo drivers.RepoStore, files ...string) {
2543 for _, path := range files {

Callers 8

TestReparseFunction · 0.85
TestReparseRillYAMLFunction · 0.85
TestRefInferrenceFunction · 0.85
TestConnectorFunction · 0.85
makeRepoFunction · 0.85
TestEnvReparseFunction · 0.85

Calls 1

PutMethod · 0.65

Tested by

no test coverage detected