MCPcopy Index your code
hub / github.com/bazelbuild/bazelisk / Write

Method Write

httputil/progress/progress.go:81–86  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

79}
80
81func (p *progress) Write(buf []byte) (int, error) {
82 l := len(buf)
83 p.current += int64(l)
84 p.ShowProgress()
85 return l, nil
86}
87
88// Writes the current download progress to stdout.
89func (p *progress) ShowProgress() {

Calls 1

ShowProgressMethod · 0.95