- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for FileValueSnapshot (0.36 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/FileValueSnapshot.java
import org.gradle.internal.snapshot.ValueSnapshotter; import javax.annotation.Nullable; import java.io.File; public class FileValueSnapshot extends AbstractScalarValueSnapshot<String> implements Isolatable<File> { public FileValueSnapshot(File value) { super(value.getPath()); } public FileValueSnapshot(String value) { super(value); } @Override public ValueSnapshot asSnapshot() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt
} } object FileValueSnapshotCodec : Codec<FileValueSnapshot> { override suspend fun WriteContext.encode(value: FileValueSnapshot) { writeString(value.value) } override suspend fun ReadContext.decode(): FileValueSnapshot { val value = readString() return FileValueSnapshot(value) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
def original = new EnumValueSnapshot(Thing.THING_1) write(original) expect: original == written } def "serializes file properties"() { def original = new FileValueSnapshot(new File("abc")) write(original) expect: original == written } def "serializes null properties"() { def original = NullValueSnapshot.INSTANCE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java
classLoaderHasher.getClassLoaderHash(implementation.getClass().getClassLoader())); } @Override public ValueSnapshot fileValue(File value) { return new FileValueSnapshot(value); } @Override public ValueSnapshot attributeValue(Attribute<?> value) { return new AttributeDefinitionSnapshot(value, classLoaderHasher); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultIsolatableFactory.java
throw new IsolationException(implementationClassIdentifier); } @Override public Isolatable<?> fileValue(File value) { return new FileValueSnapshot(value); } @Override public Isolatable<?> attributeValue(Attribute<?> value) { return new AttributeDefinitionSnapshot(value, classLoaderHasher); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 6.5K bytes - Viewed (0)