Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/slog
/ Write
Method
Write
internal/syncwriter/syncwriter_test.go:120–122 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
118
var
_ syncer = &syncWriter{}
119
120
func
(sw syncWriter) Write(p []byte) (int, error) {
121
return
sw.wf(p)
122
}
123
124
func
(sw syncWriter) Sync() error {
125
return
sw.sf()
Callers
2
TestWriter_Sync
Function · 0.45
TestWriter_defaultErrorReportsThroughStderr
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected