MCPcopy Create free account
hub / github.com/cortexproject/cortex / Write

Method Write

pkg/util/grpcencoding/snappyblock/snappyblock.go:91–93  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

89}
90
91func (w *writeCloser) Write(p []byte) (n int, err error) {
92 return w.buff.Write(p)
93}
94
95func (w *writeCloser) Close() error {
96 defer func() {

Callers 1

CloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected