Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VolumeName (0.34 sec)

  1. cmd/storage-rest_test.go

    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    		volumeName string
    		objectName string
    		expectErr  bool
    	}{
    		{"foo", "myobject", false},
    		// file not found error.
    		{"foo", "yourobject", true},
    	}
    
    	for i, testCase := range testCases {
    		_, err := storage.StatInfoFile(t.Context(), testCase.volumeName, testCase.objectName+"/"+xlStorageFormatFile, false)
    		expectErr := (err != nil)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    		// such as F:/, D:/ etc.
    		//
    		// Another additional benefit here is that this style also
    		// supports providing \\host\share support as well.
    		if runtime.GOOS == globalWindowsOSName {
    			if filepath.VolumeName(u.Path[1:]) != "" {
    				u.Path = u.Path[1:]
    			}
    		}
    	} else {
    		// Only check if the arg is an ip address and ask for scheme since its absent.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top