Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for snapshotting (0.19 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/VirtualFileSystem.java

         *
         * If the snapshotted location is invalidated while snapshotting,
         * then the snapshot is not stored in the VFS to avoid inconsistent state.
         */
        <T> T store(String baseLocation, StoringAction<T> storingAction);
    
        /**
         * Snapshotting action which produces possibly more than one snapshot.
         *
         * For example when snapshotting a filtered directory, the snapshots for complete subdirectories
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

             * cases. If there actually is a task that needs to distinguish
             * between links and real files, we should probably provide an
             * opt-in to canonical snapshotting, as it's quite expensive.
             */
            then:
            result.assertTaskSkipped(":work")
    
            when:
            copy.text = "new content"
            run("work")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r42/BuildProgressTaskActionsCrossVersionSpec.groovy

            task.descendant('Clean stale outputs')
        }
    
        //This is the current behavior. Snapshotting might become not-a-task-action in the future.
        // NOTE: This operation captures more than just snapshotting, and will be removed in a later release in favor of separate snapshotting operations
        def "snapshot task inputs action has an informative name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/snapshot/SnapshottingService.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot;
    
    import java.nio.file.Path;
    
    /**
     * Snapshotting service which is used by test distribution.
     */
    public interface SnapshottingService {
    
        /**
         * Returns a snapshot for the specified file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1017 bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/snapshot/SnapshottingServiceIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.test.fixtures.plugin.PluginBuilder
    
    class SnapshottingServiceIntegrationTest extends AbstractIntegrationSpec {
    
        def "can inject snapshotting service into plugin"() {
            given:
            file("input.txt") << """
                Some text
            """
    
            def pluginBuilder = new PluginBuilder(file("buildSrc"))
            pluginBuilder.addPlugin("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/FileCollectionSnapshotter.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution;
    
    import org.gradle.api.file.FileCollection;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    /**
     * Service for snapshotting {@link FileCollection}s.
     */
    public interface FileCollectionSnapshotter {
        interface Result {
            FileSystemSnapshot getSnapshot();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/legacy/MarkSnapshottingInputsStartedStep.java

    import org.gradle.internal.execution.steps.Result;
    import org.gradle.internal.execution.steps.Step;
    
    /**
     * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
     */
    public class MarkSnapshottingInputsStartedStep<C extends Context, R extends Result> implements Step<C, R> {
        private final Step<? super C, ? extends R> delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/legacy/MarkSnapshottingInputsFinishedStep.java

    import org.gradle.internal.execution.steps.Result;
    import org.gradle.internal.execution.steps.Step;
    
    /**
     * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
     */
    public class MarkSnapshottingInputsFinishedStep<C extends CachingContext, R extends Result> implements Step<C, R> {
        private final Step<? super C, ? extends R> delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

        }
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsStarted() {}
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsFinished(CachingState cachingState) {}
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultInputFingerprinterTest.groovy

            0 * _
    
            then:
            result.valueSnapshots as Map == ["identity": inputSnapshot]
            result.fileFingerprints as Map == [:]
        }
    
        def "reports value snapshotting problem"() {
            def failure = new RuntimeException("Error")
            def input = "failing-value"
    
            when:
            fingerprintInputProperties { visitor ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top