- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for visitLocalState (0.19 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BroadcastChangingOutputsStepTest.groovy
visitor.visitOutputProperty("output", TreeType.DIRECTORY, UnitOfWork.OutputFileValueSupplier.fromStatic(outputDir, Mock(FileCollection))) visitor.visitDestroyable(destroyableDir) visitor.visitLocalState(localStateDir) } then: 1 * outputChangeListener.invalidateCachesFor(changingOutputs) then: 1 * delegate.execute(work, _ as ChangingOutputsContext) >> delegateResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:23 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BroadcastChangingOutputsStep.java
builder.add(value.getValue().getAbsolutePath()); } @Override public void visitLocalState(File localStateRoot) { builder.add(localStateRoot.getAbsolutePath()); } @Override public void visitDestroyable(File destroyableRoot) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:23 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/PreCreateOutputParentsStepTest.groovy
visitor.visitOutputProperty("file", TreeType.FILE, UnitOfWork.OutputFileValueSupplier.fromStatic(outputFile, TestFiles.fixed(outputFile))) visitor.visitLocalState(localStateFile) visitor.visitDestroyable(destroyableFile) } then: outputDir.assertIsEmptyDir() outputFile.parentFile.assertIsEmptyDir()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:22 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/PreCreateOutputParentsStep.java
ensureOutput(propertyName, value.getValue(), type); } @Override public void visitLocalState(File localStateRoot) { ensureOutput("local state", localStateRoot, TreeType.FILE); } }); return delegate.execute(work, context); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:22 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java
} private void cleanLocalState(File workspace, UnitOfWork work) { work.visitOutputs(workspace, new UnitOfWork.OutputVisitor() { @Override public void visitLocalState(File localStateRoot) { try { outputChangeListener.invalidateCachesFor(ImmutableList.of(localStateRoot.getAbsolutePath())); deleter.deleteRecursively(localStateRoot);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 13:41:13 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy
then: _ * work.visitOutputs(_ as File, _ as UnitOfWork.OutputVisitor) >> { File workspace, UnitOfWork.OutputVisitor visitor -> visitor.visitLocalState(localStateFile) } 1 * outputChangeListener.invalidateCachesFor([localStateFile.getAbsolutePath()]) 1 * deleter.deleteRecursively(_) >> { File root -> assert root == localStateFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:50 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java
default void visitOutputProperty( String propertyName, TreeType type, OutputFileValueSupplier value ) {} default void visitLocalState(File localStateRoot) {} default void visitDestroyable(File destroyableRoot) {} } /** * Return a reason to disable caching for this work.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 13.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java
} } for (File localStateRoot : taskProperties.getLocalStateFiles()) { visitor.visitLocalState(localStateRoot); } for (File destroyableRoot : taskProperties.getDestroyableFiles()) { visitor.visitDestroyable(destroyableRoot); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 23.4K bytes - Viewed (0)