WriteFileHandle is an open for write handle on a File
| 12 | |
| 13 | // WriteFileHandle is an open for write handle on a File |
| 14 | type WriteFileHandle struct { |
| 15 | baseHandle |
| 16 | mu sync.Mutex |
| 17 | cond sync.Cond // cond lock for out of sequence writes |
| 18 | remote string |
| 19 | pipeWriter *io.PipeWriter |
| 20 | o fs.Object |
| 21 | result chan error |
| 22 | file *File |
| 23 | offset int64 |
| 24 | flags int |
| 25 | closed bool // set if handle has been closed |
| 26 | writeCalled bool // set the first time Write() is called |
| 27 | opened bool |
| 28 | truncated bool |
| 29 | } |
| 30 | |
| 31 | // Check interfaces |
| 32 | var ( |
nothing calls this directly
no outgoing calls
no test coverage detected