MCPcopy Index your code
hub / github.com/perkeep/perkeep / Read

Method Read

pkg/client/android/androidx.go:140–149  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

138}
139
140func (c *statTrackingConn) Read(p []byte) (n int, err error) {
141 n, err = c.Conn.Read(p)
142 statTCPReads.Incr(int64(n))
143 if err != nil {
144 c.once.Do(func() {
145 statTCPDoneRead.Incr(1)
146 })
147 }
148 return
149}
150
151func (c *statTrackingConn) Close() error {
152 c.once.Do(func() {

Callers

nothing calls this directly

Calls 1

IncrMethod · 0.45

Tested by

no test coverage detected