Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for SrcPath (0.13 sec)

  1. 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)
  2. cmd/storage-datatypes_gen.go

    			}
    		case "sv":
    			z.SrcVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcVolume")
    				return
    			}
    		case "sp":
    			z.SrcPath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcPath")
    				return
    			}
    		case "dv":
    			z.DstVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DstVolume")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    }
    
    // RenameDataHandlerParams are parameters for RenameDataHandler.
    type RenameDataHandlerParams struct {
    	DiskID    string        `msg:"id"`
    	SrcVolume string        `msg:"sv"`
    	SrcPath   string        `msg:"sp"`
    	DstVolume string        `msg:"dv"`
    	DstPath   string        `msg:"dp"`
    	FI        FileInfo      `msg:"fi"`
    	Opts      RenameOptions `msg:"ro"`
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K 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)
  5. cmd/storage-rest-server.go

    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    
    	resp, err := s.getStorage().RenameData(context.Background(), p.SrcVolume, p.SrcPath, p.FI, p.DstVolume, p.DstPath, p.Opts)
    	return &resp, grid.NewRemoteErr(err)
    }
    
    // RenameDataInlineHandler - renames a meta object and data dir to destination.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    	allErrs := field.ErrorList{}
    	allPaths := sets.Set[string]{}
    
    	for i, source := range projection.Sources {
    		numSources := 0
    		srcPath := fldPath.Child("sources").Index(i)
    		if projPath := srcPath.Child("secret"); source.Secret != nil {
    			numSources++
    			if len(source.Secret.Name) == 0 {
    				allErrs = append(allErrs, field.Required(projPath.Child("name"), ""))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
Back to top