| 32 | ) |
| 33 | |
| 34 | type Options struct { |
| 35 | Files map[string]string |
| 36 | Username string |
| 37 | Password string |
| 38 | AuthMW func(http.Handler) http.Handler |
| 39 | TLS bool |
| 40 | } |
| 41 | |
| 42 | // CreateGitServer creates a git repository with an in-memory filesystem |
| 43 | // and serves it over HTTP using a httptest.Server. |
nothing calls this directly
no outgoing calls
no test coverage detected