(r *fstest.Run)
| 1708 | } |
| 1709 | |
| 1710 | func toyFileTransfers(r *fstest.Run) int64 { |
| 1711 | remote := r.Fremote.Name() |
| 1712 | transfers := 1 |
| 1713 | if strings.HasPrefix(remote, "TestChunker") && strings.HasSuffix(remote, "S3") { |
| 1714 | transfers++ // Extra Copy because S3 emulates Move as Copy+Delete. |
| 1715 | } |
| 1716 | return int64(transfers) |
| 1717 | } |
| 1718 | |
| 1719 | // Test a server-side move if possible, or the backup path if not |
| 1720 | func testServerSideMove(ctx context.Context, t *testing.T, r *fstest.Run, withFilter, testDeleteEmptyDirs bool) { |
no test coverage detected
searching dependent graphs…