List the references on the remote repository. The provided Context must be non-nil. If the context expires before the operation is complete, an error is returned. The context only affects to the transport operations.
(ctx context.Context, o *ListOptions)
| 1336 | // operation is complete, an error is returned. The context only affects to the |
| 1337 | // transport operations. |
| 1338 | func (r *Remote) ListContext(ctx context.Context, o *ListOptions) (rfs []*plumbing.Reference, err error) { |
| 1339 | return r.list(ctx, o) |
| 1340 | } |
| 1341 | |
| 1342 | func (r *Remote) List(o *ListOptions) (rfs []*plumbing.Reference, err error) { |
| 1343 | timeout := o.Timeout |