X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/17a3d6e7fbc8941ad67b3b6cf344ff369ddd6e66..HEAD:/services/keepstore/count.go diff --git a/services/keepstore/count.go b/services/keepstore/count.go index 700ca19dec..51434a803e 100644 --- a/services/keepstore/count.go +++ b/services/keepstore/count.go @@ -8,21 +8,21 @@ import ( "io" ) -func NewCountingWriter(w io.Writer, f func(uint64)) io.WriteCloser { +func newCountingWriter(w io.Writer, f func(uint64)) io.WriteCloser { return &countingReadWriter{ writer: w, counter: f, } } -func NewCountingReader(r io.Reader, f func(uint64)) io.ReadCloser { +func newCountingReader(r io.Reader, f func(uint64)) io.ReadCloser { return &countingReadWriter{ reader: r, counter: f, } } -func NewCountingReaderAtSeeker(r readerAtSeeker, f func(uint64)) *countingReaderAtSeeker { +func newCountingReaderAtSeeker(r readerAtSeeker, f func(uint64)) *countingReaderAtSeeker { return &countingReaderAtSeeker{readerAtSeeker: r, counter: f} }