Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MoveFile (0.21 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } finally {
                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            logDeprecation();
            moveFileInternal(source, destination);
        }
    
        private static void moveFileInternal(File source, File destination) {
            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    In this example, the `moveFile` task uses the `Copy` task type to specify the source and destination directories.
    Inside the `doLast` closure, it uses `File.renameTo()` to move the file from the source directory to the destination directory:
    
    [source,groovy]
    ----
    task moveFile {
        doLast {
            def sourceFile = file('source.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    		tempManifestDir:   upgradedManifestDir,
    		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
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func MoveFile(from *uint16, to *uint16) (err error) {
    	r1, _, e1 := syscall.Syscall(procMoveFileW.Addr(), 2, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top