- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for DefaultFileChange (0.25 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultFileChange.java
return new DefaultFileChange(path, ChangeTypeInternal.ADDED, title, FileType.Missing, currentFileType, normalizedPath); } public static DefaultFileChange removed(String path, String title, FileType previousFileType, String normalizedPath) { return new DefaultFileChange(path, ChangeTypeInternal.REMOVED, title, previousFileType, FileType.Missing, normalizedPath); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/DefaultFileChangeTest.groovy
DefaultFileChange.removed("somePath", "test", FileType.RegularFile, "") | "has been removed" DefaultFileChange.removed("somePath", "test", FileType.Directory, "") | "has been removed" DefaultFileChange.added("somePath", "test", FileType.RegularFile, "") | "has been added" DefaultFileChange.added("somePath", "test", FileType.Directory, "") | "has been added" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IgnoredPathCompareStrategy.java
List<FilePathWithType> previousFilesForContent = unaccountedForPreviousFiles.get(normalizedContentHash); if (previousFilesForContent.isEmpty()) { DefaultFileChange added = DefaultFileChange.added(currentAbsolutePath, propertyTitle, currentFingerprint.getType(), IgnoredPathFingerprintingStrategy.IGNORED_PATH); if (!visitor.visitChange(added)) { return false;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/ClasspathCompareStrategy.java
} void added() { DefaultFileChange added = DefaultFileChange.added(current.getKey(), propertyTitle, current.getValue().getType(), current.getValue().getNormalizedPath()); changeConsumer.visitChange(added); current = nextEntry(currentEntries); } void removed() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintCompareStrategy.java
return DefaultFileChange.added(path, propertyTitle, current.getType(), current.getNormalizedPath()); } @Override public Change removed(String path, String propertyTitle, FileSystemLocationFingerprint previous) { return DefaultFileChange.removed(path, propertyTitle, previous.getType(), previous.getNormalizedPath()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy
changes(strategy, emptyFingerprint, fingerprint).toList() == [ DefaultFileChange.removed("file1.txt", "test", FileType.RegularFile, "file1.txt"), DefaultFileChange.removed("file2.txt", "test", FileType.RegularFile, "file2.txt") ] changes(strategy, fingerprint, emptyFingerprint).toList() == [ DefaultFileChange.added("file1.txt", "test", FileType.RegularFile, "file1.txt"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathChangeDetector.java
String normalizedPath, FilePathWithType modifiedFile ) { String absolutePath = modifiedFile.getAbsolutePath(); FileType fileType = modifiedFile.getFileType(); return DefaultFileChange.modified(absolutePath, propertyTitle, previousFingerprintType, fileType, normalizedPath); } private static Change removed( String propertyTitle, String normalizedPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy
DefaultFileChange.added(singleEntry.key, "test", FileType.RegularFile, singleEntry.value) } def removed(String path) { removed((path): "") } def removed(Map<String, String> entry) { def singleEntry = Iterables.getOnlyElement(entry.entrySet()) DefaultFileChange.removed(singleEntry.key, "test", FileType.RegularFile, singleEntry.value)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/FilePathWithType.java
*/ package org.gradle.internal.execution.history.changes; import org.gradle.internal.file.FileType; /** * The absolute path and the type of a file. * * Used to construct {@link DefaultFileChange}s. */ public class FilePathWithType { private final String absolutePath; private final FileType fileType; public FilePathWithType(String absolutePath, FileType fileType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy
import org.gradle.internal.execution.history.changes.AbsolutePathFingerprintCompareStrategy import org.gradle.internal.execution.history.changes.ChangeTypeInternal import org.gradle.internal.execution.history.changes.DefaultFileChange import org.gradle.internal.fingerprint.DirectorySensitivity import org.gradle.internal.fingerprint.FileCollectionFingerprint import org.gradle.internal.fingerprint.hashing.FileSystemLocationSnapshotHasher
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 20 16:00:23 UTC 2022 - 9.9K bytes - Viewed (0)