Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 179 for oldPath (0.35 sec)

  1. src/internal/syscall/windows/syscall_windows.go

    	MOVEFILE_DELAY_UNTIL_REBOOT    = 0x4
    	MOVEFILE_WRITE_THROUGH         = 0x8
    	MOVEFILE_CREATE_HARDLINK       = 0x10
    	MOVEFILE_FAIL_IF_NOT_TRACKABLE = 0x20
    )
    
    func Rename(oldpath, newpath string) error {
    	from, err := syscall.UTF16PtrFromString(oldpath)
    	if err != nil {
    		return err
    	}
    	to, err := syscall.UTF16PtrFromString(newpath)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_linux_s390x.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (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 Nov 08 17:55:49 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    	}
    
    	return
    }
    
    // RewriteImport rewrites any import of path oldPath to path newPath.
    func RewriteImport(fset *token.FileSet, f *ast.File, oldPath, newPath string) (rewrote bool) {
    	for _, imp := range f.Imports {
    		if importPath(imp) == oldPath {
    			rewrote = true
    			// record old End, because the default is to compute
    			// it using the length of imp.Path.Value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/fix/fix.go

    			f.Imports = f.Imports[:len(f.Imports)-1]
    			break
    		}
    	}
    
    	return
    }
    
    // rewriteImport rewrites any import of path oldPath to path newPath.
    func rewriteImport(f *ast.File, oldPath, newPath string) (rewrote bool) {
    	for _, imp := range f.Imports {
    		if importPath(imp) == oldPath {
    			rewrote = true
    			// record old End, because the default is to compute
    			// it using the length of imp.Path.Value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  6. pkg/kubelet/container/testing/os.go

    // OpenFile is a fake call that return nil.
    func (*FakeOS) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) {
    	return nil, nil
    }
    
    // Rename is a fake call that return nil.
    func (*FakeOS) Rename(oldpath, newpath string) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. src/syscall/zsyscall_linux_arm64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (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 Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_linux_riscv64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (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 Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    //sys	Pause() (err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    //sys	Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top