Function
stubBaseRepoFn
(baseRepo ghrepo.Interface, err error)
Source from the content-addressed store, hash-verified
| 938 | } |
| 939 | |
| 940 | func stubBaseRepoFn(baseRepo ghrepo.Interface, err error) func() (ghrepo.Interface, error) { |
| 941 | return func() (ghrepo.Interface, error) { |
| 942 | return baseRepo, err |
| 943 | } |
| 944 | } |
| 945 | |
| 946 | func stubPushDefault(pushDefault git.PushDefault, err error) func(context.Context) (git.PushDefault, error) { |
| 947 | return func(_ context.Context) (git.PushDefault, error) { |
Tested by
no test coverage detected