Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 212 for cacheDir (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/cache/internal/UsedGradleVersionsFromGradleUserHomeCaches.java

        @Override
        public SortedSet<GradleVersion> getUsedGradleVersions() {
            SortedSet<GradleVersion> result = new TreeSet<>();
            for (VersionSpecificCacheDirectory cacheDir : directoryScanner.getExistingDirectories()) {
                result.add(cacheDir.getVersion());
            }
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/cache/MarkingStrategy.java

     * </p>
     *
     * @since 8.1
     */
    @Incubating
    public interface MarkingStrategy {
        /**
         * Marking strategy that marks the cache directory with a {@code CACHEDIR.TAG} file.
         *
         * @see <a href="https://bford.info/cachedir/">Cache Directory Tagging Specification</a>
         */
        MarkingStrategy CACHEDIR_TAG = new CacheDirTagMarkingStrategy();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 25 20:35:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            then:
            cached()
            localCache.hasCacheEntry(cacheKey)
    
            when:
            settingsFile << """
                buildCache.remote.enabled = false
            """
            assert remoteCache.cacheDir.deleteDir()
            execute()
    
            then:
            cached()
        }
    
        def "remote loads are not cached locally if local cache is #state"() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

            doCopy(metadataCacheDir, cachePath, CacheLayout.MODULES)
    
            roCacheDir
        }
    
        private void doCopy(File cacheDir, Path cachePath, CacheLayout entry) {
            if (cacheDir.exists()) {
                Files.move(cacheDir.toPath(), cachePath.resolve(entry.key))
            }
        }
    
        void assertInReadOnlyCache(File file) {
            boolean inCache = isInRoCache(file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pkg/kube/client_factory.go

    			cacheDir := filepath.Join(homedir.HomeDir(), ".kube", "cache")
    
    			httpCacheDir := filepath.Join(cacheDir, "http")
    			discoveryCacheDir := computeDiscoverCacheDir(filepath.Join(cacheDir, "discovery"), restConfig.Host)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            output.contains("The remote build cache was disabled during the build due to errors.")
        }
    
        def "storing to cache does follow method preserving redirects"() {
            given:
            httpBuildCacheServer.cacheDir.createDir("redirect")
            httpBuildCacheServer.addResponder { req, res ->
                if (!req.requestURI.startsWith("/redirect")) {
                    res.setHeader("location", "redirect$req.requestURI")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy

                    outputFile = new File(buildDir, "output")
                }
                """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
                        directory = "${TextUtil.escapeString(cacheDir.absolutePath)}"
                    }
                }
            """
            file("gradle.properties") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            withBuildCache().run "jar"
            then:
            skipped ":compileJava"
        }
    
        def "cached tasks are executed with #rerunMethod"() {
            def taskPath = ":compileJava"
    
            expect:
            cacheDir.listFiles() as List == []
            buildFile << """
                def upToDate = providers.gradleProperty('upToDateWhenFalse')
                tasks.withType(JavaCompile).configureEach { it.outputs.upToDateWhen { !upToDate.present } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathFileTransformer.java

    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    
    import java.io.File;
    
    public interface ClasspathFileTransformer {
        File transform(File source, FileSystemLocationSnapshot sourceSnapshot, File cacheDir, InstrumentationTypeRegistry typeRegistry);
    
        ClasspathFileHasher getFileHasher();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top