(cfg *Configuration)
| 49 | type PullOpt func(*Pull) |
| 50 | |
| 51 | func WithConfig(cfg *Configuration) PullOpt { |
| 52 | return func(p *Pull) { |
| 53 | p.cfg = cfg |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // NewPull creates a new Pull with configuration options. |
| 58 | func NewPull(opts ...PullOpt) *Pull { |
no outgoing calls
searching dependent graphs…