MCPcopy
hub / github.com/rclone/rclone / TestInternalUploadQueueOneFileNoRest

Function TestInternalUploadQueueOneFileNoRest

backend/cache/cache_upload_test.go:60–66  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestInternalUploadQueueOneFileNoRest(t *testing.T) {
61 id := fmt.Sprintf("tiuqofnr%v", time.Now().Unix())
62 rootFs, boltDb := runInstance.newCacheFs(t, remoteName, id, true, true,
63 map[string]string{"tmp_upload_path": path.Join(runInstance.tmpUploadDir, id), "tmp_wait_time": "0s"})
64
65 testInternalUploadQueueOneFile(t, id, rootFs, boltDb)
66}
67
68func TestInternalUploadQueueOneFileWithRest(t *testing.T) {
69 id := fmt.Sprintf("tiuqofwr%v", time.Now().Unix())

Callers

nothing calls this directly

Calls 3

newCacheFsMethod · 0.80
JoinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…