Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
679
type
channelWriter
chan
[]byte
680
681
func
(cw channelWriter) Write(p []byte) (int, error) {
682
cw <- p
683
return
len(p), nil
684
}
685
686
func
TestEntryWriter(t *testing.T) {
687
cw := channelWriter(make(
chan
[]byte, 1))
Callers
1
TestEntryWriter
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected