Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for oldPath (0.25 sec)

  1. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    		backupManifestDir: backupManifestDir,
    		backupEtcdDir:     backupEtcdDir,
    		MoveFileFunc:      moveFileFunc,
    	}, nil
    }
    
    func (spm *fakeStaticPodPathManager) MoveFile(oldPath, newPath string) error {
    	return spm.MoveFileFunc(oldPath, newPath)
    }
    
    func (spm *fakeStaticPodPathManager) KubernetesDir() string {
    	return spm.kubernetesDir
    }
    
    func (spm *fakeStaticPodPathManager) PatchesDir() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    			*d = Use{}
    		}
    	}
    	return nil
    }
    
    func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error {
    	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
    }
    
    func (f *WorkFile) DropReplace(oldPath, oldVers string) error {
    	for _, r := range f.Replace {
    		if r.Old.Path == oldPath && r.Old.Version == oldVers {
    			r.Syntax.markRemoved()
    			*r = Replace{}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux.go

    	return readlinkat(_AT_FDCWD, path, buf)
    }
    
    func Rename(oldpath string, newpath string) (err error) {
    	return Renameat(_AT_FDCWD, oldpath, _AT_FDCWD, newpath)
    }
    
    func Rmdir(path string) error {
    	return unlinkat(_AT_FDCWD, path, _AT_REMOVEDIR)
    }
    
    //sys	symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    
    func Symlink(oldpath string, newpath string) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		}
    	}
    	return nil
    }
    
    func (f *File) AddReplace(oldPath, oldVers, newPath, newVers string) error {
    	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
    }
    
    func addReplace(syntax *FileSyntax, replace *[]*Replace, oldPath, oldVers, newPath, newVers string) error {
    	need := true
    	old := module.Version{Path: oldPath, Version: oldVers}
    	new := module.Version{Path: newPath, Version: newVers}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/staticpods.go

    }
    
    // MoveFile should move a file from oldPath to newPath
    func (spm *KubeStaticPodPathManager) MoveFile(oldPath, newPath string) error {
    	return kubeadmutil.MoveFile(oldPath, newPath)
    }
    
    // KubernetesDir should point to the directory Kubernetes owns for storing various configuration files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/workcmd/edit.go

    	}
    	old, new := strings.TrimSpace(before), strings.TrimSpace(after)
    	if strings.HasPrefix(new, ">") {
    		base.Fatalf("go: -replace=%s: separator between old and new is =, not =>", arg)
    	}
    	oldPath, oldVersion, err := parsePathVersionOptional("old", old, false)
    	if err != nil {
    		base.Fatalf("go: -replace=%s: %v", arg, err)
    	}
    	newPath, newVersion, err := parsePathVersionOptional("new", new, true)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/syscall/fs_wasip1.go

    //go:wasmimport wasi_snapshot_preview1 path_rename
    //go:noescape
    func path_rename(oldFd int32, oldPath unsafe.Pointer, oldPathLen size, newFd int32, newPath unsafe.Pointer, newPathLen size) Errno
    
    //go:wasmimport wasi_snapshot_preview1 path_symlink
    //go:noescape
    func path_symlink(oldPath unsafe.Pointer, oldPathLen size, fd int32, newPath unsafe.Pointer, newPathLen size) Errno
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/edit.go

    	}
    	old, new := strings.TrimSpace(before), strings.TrimSpace(after)
    	if strings.HasPrefix(new, ">") {
    		base.Fatalf("go: -replace=%s: separator between old and new is =, not =>", arg)
    	}
    	oldPath, oldVersion, err := parsePathVersionOptional("old", old, false)
    	if err != nil {
    		base.Fatalf("go: -replace=%s: %v", arg, err)
    	}
    	newPath, newVersion, err := parsePathVersionOptional("new", new, true)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/syscall/syscall_aix.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error)
    //sys	read(fd int, p []byte) (n int, err error)
    //sys	Reboot(how int) (err error)
    //sys	Rename(from string, to string) (err error)
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Rmdir(path string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
    //sysnb	Setegid(egid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_aix_ppc64.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(oldpath)
    	if err != nil {
    		return
    	}
    	var _p1 *byte
    	_p1, err = BytePtrFromString(newpath)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top