MCPcopy Index your code
hub / github.com/rclone/rclone / writeOnly

Method writeOnly

vfs/read_write.go:85–87  ·  view source on GitHub ↗

writeOnly returns whether flags say fh is write only

()

Source from the content-addressed store, hash-verified

83
84// writeOnly returns whether flags say fh is write only
85func (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//

Callers 1

_readAtMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected