Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for snapshotFor (0.16 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

        def "can add dir to empty set"() {
            def empty = EMPTY
            def dir1 = tmpDir.createDir("dir1")
            def dir2 = tmpDir.createDir("dir2")
    
            def dir1Snapshot = snapshotDir(dir1)
            def dir2Snapshot = snapshotDir(dir2)
            expect:
            def s1 = empty.store(dir1.absolutePath, dir1Snapshot, diffListener)
            assertDirectorySnapshot(s1, dir1)
            assertHasNoMetadata(s1, dir2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ValueSnapshot.java

         */
        ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        def virtualFileSystem = TestFiles.virtualFileSystem()
        def fileSystemAccess = TestFiles.fileSystemAccess(virtualFileSystem)
        def snapshotter = new DefaultFileCollectionSnapshotter(fileSystemAccess, TestFiles.fileSystem())
        def fingerprinter = new AbsolutePathFileCollectionFingerprinter(DirectorySensitivity.DEFAULT, snapshotter, FileSystemLocationSnapshotHasher.DEFAULT)
        def executionHistoryStore = new TestExecutionHistoryStore()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

        def "loads from cache"() {
            def cachedOriginMetadata = Stub(OriginMetadata)
            cachedOriginMetadata.executionTime >> Duration.ofSeconds(1)
            def outputsFromCache = snapshotsOf("test": [])
            def localStateFile = file("local-state.txt") << "local state"
    
            when:
            def result = step.execute(work, context)
    
            then:
            result.execution.get().outcome == FROM_CACHE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterAsDirectoryWalkerTest.groovy

    class DirectorySnapshotterAsDirectoryWalkerTest extends AbstractDirectoryWalkerTest<DirectorySnapshotter> {
        Consumer<FileSystemLocationSnapshot> completeSnapshotConsumer = Stub()
    
        def "directory snapshotter returns the same details as directory walker"() {
            given:
            def rootDir = tmpDir.createDir("root")
            generateFilesAndSubDirectories(rootDir, 10, 5, 3, 1, new AtomicInteger())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            File original,
            ClasspathFileTransformer transformer,
            Set<HashCode> seen,
            InstrumentationTypeRegistry typeRegistry
        ) {
            FileSystemLocationSnapshot snapshot = snapshotOf(original);
            if (snapshot.getType() == FileType.Missing) {
                return empty();
            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/HandleStaleOutputsStepTest.groovy

            cleanupRegistry,
            deleter,
            outputChangeListener,
            outputFilesRepository,
            delegate)
    
        def outputFile = file("output.txt").text = "output"
        def outputFilesProducedByWork = snapshotsOf(output: outputFile)
        def afterExecutionState = Stub(AfterExecutionState) {
            getOutputFilesProducedByWork() >> outputFilesProducedByWork
        }
    
        def delegateResult = Mock(AfterExecutionResult)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. pilot/pkg/config/monitor/file_snapshot.go

    type FileSnapshot struct {
    	root             string
    	domainSuffix     string
    	configTypeFilter map[config.GroupVersionKind]bool
    }
    
    // NewFileSnapshot returns a snapshotter.
    // If no types are provided in the descriptor, all Istio types will be allowed.
    func NewFileSnapshot(root string, schemas collection.Schemas, domainSuffix string) *FileSnapshot {
    	snapshot := &FileSnapshot{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/service/scopes/VirtualFileSystemServices.java

            @Provides
            InputFingerprinter createInputFingerprinter(
                FileCollectionSnapshotter snapshotter,
                FileCollectionFingerprinterRegistry fingerprinterRegistry,
                ValueSnapshotter valueSnapshotter
            ) {
                return new DefaultInputFingerprinter(snapshotter, fingerprinterRegistry, valueSnapshotter);
            }
    
            @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        }
    
        @Override
        public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) {
            PrimitiveType valueType = PrimitiveType.maybeOfValue(value);
            if (primitiveType == valueType && primitiveType.equals(array, value)) {
                return this;
            }
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (snapshot.equals(this)) {
                return this;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top