Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for moveExistingFile (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/resource/local/DefaultPathKeyFileStore.java

                        if (source.isDirectory()) {
                            GFileUtils.moveExistingDirectory(source, file);
                        } else {
                            GFileUtils.moveExistingFile(source, file);
                        }
                    }
                });
            } catch (Throwable e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFile(source, destination);
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            logDeprecation();
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFileInternal(source, destination);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top