Disable Write streams for now.
This commit is contained in:
@@ -131,6 +131,8 @@ type WriteStream struct {
|
|||||||
// mean that data was written to the device, only that it was written to the
|
// mean that data was written to the device, only that it was written to the
|
||||||
// buffer. Only a call to Flush() that returns nil error guarantees that
|
// buffer. Only a call to Flush() that returns nil error guarantees that
|
||||||
// all transfers have succeeded.
|
// all transfers have succeeded.
|
||||||
|
// TODO(sebek): not implemented and tested yet
|
||||||
|
/*
|
||||||
func (w WriteStream) Write(p []byte) (int, error) {
|
func (w WriteStream) Write(p []byte) (int, error) {
|
||||||
s := w.s
|
s := w.s
|
||||||
written := 0
|
written := 0
|
||||||
@@ -153,6 +155,7 @@ func (w WriteStream) Write(p []byte) (int, error) {
|
|||||||
func (w WriteStream) Flush() error {
|
func (w WriteStream) Flush() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
func newStream(tt []transferIntf, submit bool) *stream {
|
func newStream(tt []transferIntf, submit bool) *stream {
|
||||||
s := &stream{
|
s := &stream{
|
||||||
|
Reference in New Issue
Block a user