MCPcopy
hub / github.com/elastic/go-elasticsearch / Write

Method Write

esutil/json_reader.go:104–110  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

102}
103
104func (cw *countingWriter) Write(p []byte) (int, error) {
105 n, err := cw.Writer.Write(p)
106 if n > 0 {
107 cw.n += n
108 }
109 return n, err
110}

Callers 15

TestProductCheckErrorFunction · 0.45
TestFingerprintFunction · 0.45
NewServerFunction · 0.45
SPNEGOAuthMiddlewareFunction · 0.45
mainFunction · 0.45
setupMethod · 0.45
initFunction · 0.45
EncodeJSONMethod · 0.45

Calls

no outgoing calls

Tested by 9

TestProductCheckErrorFunction · 0.36
TestFingerprintFunction · 0.36
EncodeJSONMethod · 0.36
BenchmarkBulkIndexerFunction · 0.36
TestAPIFunction · 0.36