- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for DefaultFileChange (0.23 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/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) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NonIncrementalInputChanges.java
@Override public ChangeType getChangeType() { return ChangeType.ADDED; } @Override public org.gradle.api.file.FileType getFileType() { return DefaultFileChange.toPublicFileType(fileType); } @Override public String getNormalizedPath() { return normalizedPath; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.8K bytes - Viewed (0)