MCPcopy
hub / github.com/hashicorp/go-getter / MockProgressTracking

Struct MockProgressTracking

client_option_progress_test.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type MockProgressTracking struct {
17 sync.Mutex
18 downloaded map[string]int
19}
20
21func (p *MockProgressTracking) TrackProgress(src string,
22 currentSize, totalSize int64, stream io.ReadCloser) (body io.ReadCloser) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected