MCPcopy Index your code
hub / github.com/devspace-sh/devspace / disableDownload

Function disableDownload

pkg/devspace/sync/sync_test.go:374–383  ·  view source on GitHub ↗
(testCases testCaseList)

Source from the content-addressed store, hash-verified

372}
373
374func disableDownload(testCases testCaseList) testCaseList {
375 for i, f := range testCases {
376 if !strings.Contains(f.path, "Remote") || strings.Contains(f.path, "noUpload") {
377 continue
378 }
379 testCases[i].shouldExistInLocal = false
380 testCases[i].shouldExistInRemote = strings.Contains(f.path, "ignore") || strings.Contains(f.path, "noDownload")
381 }
382 return testCases
383}
384
385func makeRemoveAndRenameTestCases(filesToCheck testCaseList, foldersToCheck testCaseList) (testCaseList, testCaseList) {
386 for n, array := range []testCaseList{filesToCheck, foldersToCheck} {

Callers 1

TestInitialSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected