- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for destPath (0.16 sec)
-
cmd/xl-storage_test.go
} testCases := []struct { srcVol string destVol string srcPath string destPath string expectedErr error }{ // TestXLStorage case - 1. { srcVol: "src-vol", destVol: "dest-vol", srcPath: "file1", destPath: "file-one", expectedErr: nil, }, // TestXLStorage case - 2. { srcVol: "src-vol",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/xl-storage.go
// Only log these errors if context is not yet canceled. storageLogOnceIf(ctx, fmt.Errorf("drive:%s, srcVolume: %s, srcPath: %s, dstVolume: %s:, dstPath: %s - error %v", s.drivePath, srcVolume, srcPath, dstVolume, dstPath, err), "xl-storage-rename-data-"+dstVolume) } if s.globalSync { globalSync() } }() srcVolumeDir, err := s.getVolDir(srcVolume)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (2) -
pkg/apis/core/v1/defaults_test.go
t.Errorf("expected PodSpec HostPort to be 0, got %v", got) } }) } } type testPath struct { path string value reflect.Value } func detectDefaults(t *testing.T, obj runtime.Object, v reflect.Value) map[string]string { defaults := map[string]string{} toVisit := []testPath{{path: "", value: v}} for len(toVisit) > 0 { visit := toVisit[0] toVisit = toVisit[1:]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// If we add a file in the overlay, we don't want to add it in the original. if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If the OS supports symlinks, use them instead of copying bytes. if err := os.Symlink(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
} } func restfulConnectResource(connecter rest.Connecter, scope handlers.RequestScope, admit admission.Interface, restPath string, isSubresource bool) restful.RouteFunction { return func(req *restful.Request, res *restful.Response) { handlers.ConnectResource(connecter, &scope, admit, restPath, isSubresource)(res.ResponseWriter, req.Request) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)