MCPcopy
hub / github.com/sirupsen/logrus / Write

Method Write

logrus_test.go:681–684  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

679type channelWriter chan []byte
680
681func (cw channelWriter) Write(p []byte) (int, error) {
682 cw <- p
683 return len(p), nil
684}
685
686func TestEntryWriter(t *testing.T) {
687 cw := channelWriter(make(chan []byte, 1))

Callers 1

TestEntryWriterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected