MCPcopy
hub / github.com/argoproj/argo-workflows / load

Function load

workflow/artifacts/git/git_test.go:187–191  ·  view source on GitHub ↗
(t *testing.T, driver *ArtifactDriver, git *wfv1.GitArtifact)

Source from the content-addressed store, hash-verified

185}
186
187func load(t *testing.T, driver *ArtifactDriver, git *wfv1.GitArtifact) error {
188 t.Helper()
189 _ = os.RemoveAll(path)
190 return driver.Load(logging.TestContext(t.Context()), &wfv1.Artifact{ArtifactLocation: wfv1.ArtifactLocation{Git: git}}, path)
191}
192
193func TestGetUser(t *testing.T) {
194 for _, tt := range []struct {

Callers 1

Calls 3

TestContextFunction · 0.92
LoadMethod · 0.65
ContextMethod · 0.65

Tested by

no test coverage detected