Fetch fetches references along with the objects necessary to complete their histories, from the remote named as FetchOptions.RemoteName. Returns nil if the operation is successful, NoErrAlreadyUpToDate if there are no changes to be fetched, or an error.
(o *FetchOptions)
| 1183 | // Returns nil if the operation is successful, NoErrAlreadyUpToDate if there are |
| 1184 | // no changes to be fetched, or an error. |
| 1185 | func (r *Repository) Fetch(o *FetchOptions) error { |
| 1186 | return r.FetchContext(context.Background(), o) |
| 1187 | } |
| 1188 | |
| 1189 | // FetchContext fetches references along with the objects necessary to complete |
| 1190 | // their histories, from the remote named as FetchOptions.RemoteName. |
nothing calls this directly
no test coverage detected