writeOnly returns whether flags say fh is write only
()
| 83 | |
| 84 | // writeOnly returns whether flags say fh is write only |
| 85 | func (fh *RWFileHandle) writeOnly() bool { |
| 86 | return (fh.flags & accessModeMask) == os.O_WRONLY |
| 87 | } |
| 88 | |
| 89 | // openPending opens the file if there is a pending open |
| 90 | // |