MCPcopy Create free account
hub / github.com/rsc/tmp / Next

Method Next

gitfs/pkt.go:40–67  ·  view source on GitHub ↗

Next returns the payload of the next packet from the stream. If the next packet is a flush packet (length 0000), Next returns nil, io.EOF. If the next packet is a delimiter packet (length 0001), Next returns nil, nil. If the data stream has ended, Next returns nil, io.ErrUnexpectedEOF.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

LinesMethod · 0.95
benchMutexFunction · 0.45
UnpackTarGzFunction · 0.45
IndexTarGzFunction · 0.45
fetchMethod · 0.45

Calls

no outgoing calls

Tested by 2

benchMutexFunction · 0.36