"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/golang.org/x/text/unicode/norm/readwriter.go" between
etcd-3.4.12.tar.gz and etcd-3.4.13.tar.gz

About: etcd is a distributed reliable key-value store for the most critical data of a distributed system (written in "Go").

readwriter.go  (etcd-3.4.12):readwriter.go  (etcd-3.4.13)
skipping to change at line 63 skipping to change at line 63
if len(w.buf) > 0 { if len(w.buf) > 0 {
_, err := w.w.Write(w.buf) _, err := w.w.Write(w.buf)
if err != nil { if err != nil {
return err return err
} }
} }
return nil return nil
} }
// Writer returns a new writer that implements Write(b) // Writer returns a new writer that implements Write(b)
// by writing f(b) to w. The returned writer may use an // by writing f(b) to w. The returned writer may use an
// an internal buffer to maintain state across Write calls. // internal buffer to maintain state across Write calls.
// Calling its Close method writes any buffered data to w. // Calling its Close method writes any buffered data to w.
func (f Form) Writer(w io.Writer) io.WriteCloser { func (f Form) Writer(w io.Writer) io.WriteCloser {
wr := &normWriter{rb: reorderBuffer{}, w: w} wr := &normWriter{rb: reorderBuffer{}, w: w}
wr.rb.init(f, nil) wr.rb.init(f, nil)
return wr return wr
} }
type normReader struct { type normReader struct {
rb reorderBuffer rb reorderBuffer
r io.Reader r io.Reader
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)