func NewOpenWriterFile(w io.WriteCloser) rh.FID {
	file := &OpenWriterFile{
		openFile: newOpenFile(),
	}
	ir, iw := interruptible.Pipe()
	go func() {
		io.Copy(w, ir)
		ir.Close()
		w.Close()
	}()
	file.w = iw
	return file
}
// NewOpenWriterFile returns an FID corresponding to an open reader file.
NewOpenWriterFile returns an FID corresponding to an open reader file.
// NewOpenWriterFile returns an FID corresponding to an open reader file .
func NewOpenWriterFile(w io.WriteCloser) rh.FID {
	file := &OpenWriterFile{
		openFile: newOpenFile(),
	}
	ir, iw := interruptible.Pipe()
	go func() {
		io.Copy(w, ir)
		ir.Close()
		w.Close()
	}()
	file.w = iw
	return file
}
func NewOpenWriterFile ( w io . WriteCloser ) rh . FID { file := & OpenWriterFile { openFile : newOpenFile ( ) , } ir , iw := interruptible . Pipe ( ) go func ( ) { io . Copy ( w , ir ) ir . Close ( ) w . Close ( ) } ( ) file . w = iw return file }
NewOpenWriterFile returns an FID corresponding to an open reader file.
NewOpenWriterFile returns an FID corresponding to an open reader file .