- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for withContentIfPresent (0.36 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/RemoteScriptUpToDateChecker.kt
val downloadAction = DownloadAction(externalResourceName, temporaryFileProvider, null) externalResource.withContentIfPresent(downloadAction) lockingAccessCoordinator.useCache { val cachedResource = externalResourceFileStore.move(externalResource.toString(), downloadAction.destination)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java
try { ExternalResourceName query = toQuery(baseUri, fingerprint); ExternalResourceReadResult<ExponentialBackoff.Result<Boolean>> response = client.resource(query).withContentIfPresent(inputStream -> { extractKeyRing(inputStream, builder, onKeyring); return ExponentialBackoff.Result.successful(true); });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java
@Override @Nullable public ExternalResourceReadResult<Metadata> call() { return repository.resource(metadataResource).withContentIfPresent(inputStream -> { try { return new MetadataXpp3Reader().read(inputStream, false); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 12:20:56 UTC 2024 - 15.7K bytes - Viewed (0)