(ctx context.Context, t testing.TB, c *dagger.Client, hostname string, content *dagger.Directory, branchName string, username string, token *dagger.Secret)
| 2538 | } |
| 2539 | |
| 2540 | func gitServiceHTTPWithBranch(ctx context.Context, t testing.TB, c *dagger.Client, hostname string, content *dagger.Directory, branchName string, username string, token *dagger.Secret) (*dagger.Service, string) { |
| 2541 | t.Helper() |
| 2542 | |
| 2543 | gitDaemon, repoURL := httpServiceDirAuth(ctx, t, c, hostname, makeGitDir(c, content, branchName), username, token) |
| 2544 | repoURL += "/repo.git" |
| 2545 | return gitDaemon, repoURL |
| 2546 | } |
| 2547 | |
| 2548 | func makeGitDir(c *dagger.Client, content *dagger.Directory, branchName string) *dagger.Directory { |
| 2549 | return c.Container(). |
no test coverage detected