Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasSamePath (0.14 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/TrivialChangeDetectorTest.groovy

            then:
            1 * itemComparator.hasSamePath(1, 1) >> true
            1 * itemComparator.hasSameContent(1, 1) >> true
            0 * _
        }
    
        def "detects normalized path modified"() {
            when:
            detector.visitChangesSince([one: 1], [one: -1], "test", visitor)
            then:
            1 * itemComparator.hasSamePath(1, -1) >> false
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/TrivialChangeDetector.java

            S previous = previousEntry.getValue();
            S current = currentEntry.getValue();
            if (itemComparator.hasSamePath(previous, current)) {
                if (itemComparator.hasSameContent(previous, current)) {
                    return true;
                }
                String path = currentEntry.getKey();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintCompareStrategy.java

        private static final TrivialChangeDetector.ItemComparator<FileSystemLocationFingerprint> ITEM_COMPARATOR = new TrivialChangeDetector.ItemComparator<FileSystemLocationFingerprint>() {
            @Override
            public boolean hasSamePath(FileSystemLocationFingerprint previous, FileSystemLocationFingerprint current) {
                return previous.getNormalizedPath().equals(current.getNormalizedPath());
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top