Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for existsAndIsEmpty (0.36 sec)

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

                    break;
                }
                if (existsAndIsEmpty(directory)) {
                    LOGGER.debug("Deleting stale empty output directory '{}'.", directory);
                    Files.delete(directory.toPath());
                    didWork = true;
                    markParentDirForDeletion(directory);
                }
            }
        }
    
        private boolean existsAndIsEmpty(File parentDir) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top