MCPcopy
hub / github.com/openfaas/faas / Write

Method Write

gateway/handlers/logs.go:108–113  ·  view source on GitHub ↗

Write writes to the dst writer and then immediately flushes the writer

(p []byte)

Source from the content-addressed store, hash-verified

106
107// Write writes to the dst writer and then immediately flushes the writer
108func (u *unbufferedWriter) Write(p []byte) (n int, err error) {
109 n, err = u.dst.Write(p)
110 u.dst.Flush()
111
112 return n, err
113}
114
115func copyNotify(destination io.Writer, source io.Reader) <-chan error {
116 done := make(chan error, 1)

Calls

no outgoing calls