MCPcopy
hub / github.com/rclone/rclone / TestInternalUploadQueueOneFileWithRest

Function TestInternalUploadQueueOneFileWithRest

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

Source from the content-addressed store, hash-verified

66}
67
68func TestInternalUploadQueueOneFileWithRest(t *testing.T) {
69 id := fmt.Sprintf("tiuqofwr%v", time.Now().Unix())
70 rootFs, boltDb := runInstance.newCacheFs(t, remoteName, id, true, true,
71 map[string]string{"tmp_upload_path": path.Join(runInstance.tmpUploadDir, id), "tmp_wait_time": "1m"})
72
73 testInternalUploadQueueOneFile(t, id, rootFs, boltDb)
74}
75
76func TestInternalUploadMoveExistingFile(t *testing.T) {
77 id := fmt.Sprintf("tiumef%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…