- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for withTempFile (0.37 sec)
-
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheService.java
public void storeLocally(BuildCacheKey key, File file) { cache.storeLocally(((BuildCacheKeyInternal) key).getHashCodeInternal(), file); } @Override public void withTempFile(HashCode key, Consumer<? super File> action) { cache.withTempFile(key, action); } @Override public void close() throws IOException { cache.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 14:32:44 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
} fileAccessTracker.markAccessed(targetFile); } @Override public void withTempFile(HashCode key, Consumer<? super File> action) { persistentCache.withFileLock(() -> tempFileStore.withTempFile(key, action)); } @Override public void close() { persistentCache.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/local/internal/BuildCacheTempFileStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 16:23:39 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/local/internal/DefaultBuildCacheTempFileStore.java
public DefaultBuildCacheTempFileStore(TemporaryFileFactory temporaryFileFactory) { this.temporaryFileFactory = temporaryFileFactory; } @Override public void withTempFile(HashCode key, Consumer<? super File> action) { File tempFile = temporaryFileFactory.createTemporaryFile(key + "-", PARTIAL_FILE_SUFFIX); try { action.accept(tempFile); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 14:32:44 UTC 2024 - 1.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:46:34 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy
identity >> ":test" type >> CacheableEntity } Duration executionTime = Duration.ofMillis(123) Map<String, FileSystemSnapshot> snapshots = [:] def local = Mock(Local) { withTempFile(_ as HashCode, _ as Consumer) >> { key, action -> action.accept(tmpDir.file("file")) } } def localPush = true def remote = Mock(BuildCacheService) def remotePush = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 8.5K bytes - Viewed (0)