MCPcopy
hub / github.com/caddyserver/caddy / Read

Method Read

modules/caddyhttp/server.go:1181–1185  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

1179}
1180
1181func (r *lengthReader) Read(b []byte) (int, error) {
1182 n, err := r.Source.Read(b)
1183 r.Length += n
1184 return n, err
1185}
1186
1187func (r *lengthReader) Close() error {
1188 return r.Source.Close()

Callers 5

cmdStartFunction · 0.45
GenerateRandomBytesFunction · 0.45

Calls

no outgoing calls