MCPcopy Index your code
hub / github.com/containerd/containerd / contentRange

Method contentRange

core/remotes/docker/fetcher_test.go:712–714  ·  view source on GitHub ↗
(size int64)

Source from the content-addressed store, hash-verified

710}
711
712func (r httpRange) contentRange(size int64) string {
713 return fmt.Sprintf("bytes %d-%d/%d", r.start, r.start+r.length-1, size)
714}
715
716var (
717 errNoOverlap = errors.New("no overlap")

Calls

no outgoing calls

Tested by

no test coverage detected