WithFileModeGit configures the repo client to fetch files using git.
()
| 69 | |
| 70 | // WithFileModeGit configures the repo client to fetch files using git. |
| 71 | func WithFileModeGit() Option { |
| 72 | return func(c *repoClientConfig) error { |
| 73 | c.gitMode = true |
| 74 | return nil |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | // WithRoundTripper configures the repo client to use the specified http.RoundTripper. |
| 79 | func WithRoundTripper(rt http.RoundTripper) Option { |
no outgoing calls
no test coverage detected