PutTestContents puts file with given contents to the remote and checks it but unlike TestPutLarge doesn't remove
(ctx context.Context, t *testing.T, f fs.Fs, file *fstest.Item, contents string, check bool)
| 206 | |
| 207 | // PutTestContents puts file with given contents to the remote and checks it but unlike TestPutLarge doesn't remove |
| 208 | func PutTestContents(ctx context.Context, t *testing.T, f fs.Fs, file *fstest.Item, contents string, check bool) fs.Object { |
| 209 | return PutTestContentsMetadata(ctx, t, f, file, false, contents, check, "", nil) |
| 210 | } |
| 211 | |
| 212 | // testPut puts file with random contents to the remote |
| 213 | func testPut(ctx context.Context, t *testing.T, f fs.Fs, file *fstest.Item) (string, fs.Object) { |
searching dependent graphs…