Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SrcPath (0.18 sec)

  1. cmd/xl-storage_test.go

    			srcPath:     "path/2/success-file",
    			expectedErr: errPathNotFound,
    		},
    		// TestXLStorage case - 5.
    		// TestXLStorage case with path being a directory.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path",
    			expectedErr: errPathNotFound,
    		},
    		// TestXLStorage case - 6.
    		// TestXLStorage case with non existent volume.
    		{
    			srcVol:      "non-existent-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)
  2. 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()
    		}
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  3. src/cmd/internal/testdir/testdir_test.go

    	}
    
    	srcRoot, err := filepath.Abs(srcRoot)
    	if err != nil {
    		return err
    	}
    
    	return filepath.WalkDir(srcRoot, func(srcPath string, d fs.DirEntry, err error) error {
    		if err != nil || srcPath == srcRoot {
    			return err
    		}
    
    		suffix := strings.TrimPrefix(srcPath, srcRoot)
    		for len(suffix) > 0 && suffix[0] == filepath.Separator {
    			suffix = suffix[1:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    				break
    			}
    		}
    		if j == len(special[i]) {
    			return true
    		}
    	}
    	return false
    }
    
    func realpath(srcpath string, abspath []byte) (pathlen int, errno int) {
    	var source [1024]byte
    	copy(source[:], srcpath)
    	source[len(srcpath)] = 0
    	ret := runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___REALPATH_A<<4, //__realpath_a()
    		[]uintptr{uintptr(unsafe.Pointer(&source[0])),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top