fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

section: remove error from writer.Write

We never check the error, we rely on it caching the first error it
encounters.

+2 -3
+2 -3
section.go
··· 29 29 off uint32 30 30 } 31 31 32 - func (w *writer) Write(b []byte) error { 32 + func (w *writer) Write(b []byte) { 33 33 if w.err != nil { 34 - return w.err 34 + return 35 35 } 36 36 37 37 var n int 38 38 n, w.err = w.w.Write(b) 39 39 w.off += uint32(n) 40 - return w.err 41 40 } 42 41 43 42 func (w *writer) Off() uint32 { return w.off }