- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for moveFiles (0.13 sec)
-
cmd/kubeadm/app/phases/upgrade/postupgrade_test.go
func (cc *componentConfig) IsUserSupplied() bool { return false } func (cc *componentConfig) SetUserSupplied(userSupplied bool) { cc.userSupplied = userSupplied } // moveFiles moves files from one directory to another. func moveFiles(files map[string]string) error { filesToRecover := make(map[string]string, len(files)) for from, to := range files { if err := os.Rename(from, to); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 11:40:04 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
* * @since 21.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file @ElementTypesAreNonnullByDefault public final class MoreFiles { private MoreFiles() {} /** * Returns a view of the given {@code path} as a {@link ByteSource}. * * <p>Any {@linkplain OpenOption open options} provided are used when opening streams to the file
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 34.3K bytes - Viewed (0) -
guava/src/com/google/common/io/RecursiveDeleteOption.java
import com.google.j2objc.annotations.J2ObjCIncompatible; import java.nio.file.SecureDirectoryStream; /** * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link * MoreFiles#deleteDirectoryContents}). * * @since 21.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2K bytes - Viewed (0) -
cmd/kubeadm/app/util/copy.go
if err != nil { return err } defer func() { _ = destFile.Close() }() _, err = io.Copy(destFile, sourceFile) return err } // MoveFile moves a file from src to dest. func MoveFile(src, dest string) error { err := os.Rename(src, dest) if err != nil && strings.Contains(err.Error(), "invalid cross-device link") {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 01:42:57 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java
for (File fileToDelete : collectFilesToDelete(classesToDelete, resourcesToDelete)) { File stashedFile = new File(stashDirectory, fileToDelete.getName() + ".uniqueId" + uniqueId++); moveFile(fileToDelete, stashedFile); stashedFiles.add(new StashedFile(fileToDelete, stashedFile)); } return stashedFiles; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java
}); try { moveFile(targetFile, downloadFile); } catch (IOException e) { throw new GradleException("Unable to move downloaded file to target destination", e); } } finally { downloadFile.delete(); } } private void moveFile(File targetFile, File downloadFile) throws IOException { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 5.6K bytes - Viewed (0) -
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) -
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) -
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) -
android/guava/src/com/google/common/io/Files.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Provides utility methods for working with {@linkplain File files}. * * <p>{@link java.nio.file.Path} users will find similar utilities in {@link MoreFiles} and the * JDK's {@link java.nio.file.Files} class. * * @author Chris Nokleberg * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0)