Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cleanupDirectories (0.2 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputsCleaner.java

                cleanupOutput(new File(entry.getKey()), entry.getValue().getType());
            }
            cleanupDirectories();
        }
    
        /**
         * Cleans up a single location.
         *
         * Does not clean up directories, yet, though remembers them for deletion.
         * You should call {@link #cleanupDirectories()} after you are finished with the calls this method.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/tasks/StaleOutputCleaner.java

                for (File f : filesToDelete) {
                    if (f.isFile()) {
                        outputsCleaner.cleanupOutput(f, FileType.RegularFile);
                    }
                }
                outputsCleaner.cleanupDirectories();
            } catch (IOException e) {
                throw new UncheckedIOException("Failed to clean up stale outputs", e);
            }
    
            return outputsCleaner.getDidWork();
        }
    
        @CheckReturnValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/OutputsCleanerTest.groovy

        private void cleanupOutput(File... files)  {
            for (File file : files) {
                cleaner.cleanupOutput(file, file.directory ? FileType.Directory : FileType.RegularFile)
            }
            cleaner.cleanupDirectories()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top