Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanupOverlappingOutputs (0.24 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy

            outputs.dir.createDir("some/notOutput2")
    
            when:
            step.execute(work, context)
            then:
            interaction {
                cleanupOverlappingOutputs(outputs)
            }
            1 * delegate.execute(work, context) >> delegateResult
            0 * _
    
            !outputs.file.exists()
            outputs.dir.assertHasDescendants("some/notOutput1.txt", "some/notOutput2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

                    if (hasOverlappingOutputs) {
                        cleanupOverlappingOutputs(context, work);
                    } else {
                        cleanupExclusivelyOwnedOutputs(context, work);
                    }
                }
            }
            return delegate.execute(work, context);
        }
    
        private void cleanupOverlappingOutputs(BeforeExecutionContext context, UnitOfWork work) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top