- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for oldPath (0.2 sec)
-
pkg/util/filesystem/defaultfs.go
} return &defaultFile{file}, nil } // Rename via os.Rename func (fs *DefaultFs) Rename(oldpath, newpath string) error { if !strings.HasPrefix(oldpath, fs.root) { oldpath = fs.prefix(oldpath) } if !strings.HasPrefix(newpath, fs.root) { newpath = fs.prefix(newpath) } return os.Rename(oldpath, newpath) } // MkdirAll via os.MkdirAll func (fs *DefaultFs) MkdirAll(path string, perm os.FileMode) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 4.7K bytes - Viewed (0) -
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) -
src/syscall/syscall_linux_riscv64.go
//sys Shutdown(fd int, how int) (err error) //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { return renameat2(olddirfd, oldpath, newdirfd, newpath, 0) } func Stat(path string, stat *Stat_t) (err error) { return fstatat(_AT_FDCWD, path, stat, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 5.8K bytes - Viewed (0) -
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) -
src/cmd/go/testdata/script/version_buildvcs_git.txt
# controlled with -buildvcs. This test focuses on Git. Other tests focus on # other VCS tools but may not cover common functionality. [!git] skip [short] skip env GOBIN=$WORK/gopath/bin env oldpath=$PATH cd repo/a # If there's no local repository, there's no VCS info. go install go version -m $GOBIN/a$GOEXE ! stdout vcs.revision rm $GOBIN/a$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go
} else { *funcref = error_Renameat } return (*funcref)(olddirfd, oldpath, newdirfd, newpath) } func error_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { err = ENOSYS return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func impl_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { var _p0 *byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 88.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
rsa.Service_name_len = uint64(length) } func Pause() error { _, err := ppoll(nil, 0, nil, nil) return err } func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) } //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
rsa.Service_name_len = uint64(length) } func Pause() error { _, err := ppoll(nil, 0, nil, nil) return err } func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) } //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.7K bytes - Viewed (0) -
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) -
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)