MCPcopy
hub / github.com/rclone/rclone / rwHandleCreateWriteOnly

Function rwHandleCreateWriteOnly

vfs/read_write_test.go:57–59  ·  view source on GitHub ↗

Open a file for write

(t *testing.T)

Source from the content-addressed store, hash-verified

55
56// Open a file for write
57func rwHandleCreateWriteOnly(t *testing.T) (r *fstest.Run, vfs *VFS, fh *RWFileHandle) {
58 return rwHandleCreateFlags(t, false, "file1", os.O_WRONLY|os.O_CREATE)
59}
60
61// read data from the string
62func rwReadString(t *testing.T, fh *RWFileHandle, n int) string {

Calls 1

rwHandleCreateFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…