- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readRegularFileContentHash (0.43 sec)
-
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/FileSystemAccess.java
/** * Visits the hash of the content of the file only if the file is a regular file. * * @return the visitor function applied to the found snapshot. */ Optional<HashCode> readRegularFileContentHash(String location); /** * Reads the hierarchy of files at the given location. */ FileSystemLocationSnapshot read(String location); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:29:37 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java
locationCache.clear(); } @Override public V get(File file) { return locationCache.computeIfAbsent(file, location -> fileSystemAccess.readRegularFileContentHash(location.getAbsolutePath()) .map(contentHash -> contentCache.get(contentHash, key -> calculator.calculate(location, true)) ).orElseGet(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 5.6K bytes - Viewed (0)