Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for deleteMin (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy

            tgzCacheEntry.delete()
    
            def metadata = new Properties()
            extractDir.file("METADATA").withInputStream { input ->
                metadata.load(input)
            }
            extractDir.deleteDir()
            return metadata
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            return osName.contains("windows");
        }
    
        private boolean deleteDir(File dir) {
            if (dir.isDirectory()) {
                String[] children = dir.list();
                if (children != null) {
                    for (int i = 0; i < children.length; i++) {
                        boolean success = deleteDir(new File(dir, children[i]));
                        if (!success) {
                            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/CachedScalaCompileIntegrationTest.groovy

            withBuildCache().run compilationTask
    
            then:
            classes.all*.compiledClass*.exists().every()
            classes.analysisFile.assertIsFile()
    
            when:
            warmupDir.deleteDir()
            setupProjectInDirectory(testDirectory)
            classes = new ScalaCompilationFixture(testDirectory)
            classes.baseline()
            withBuildCache().run compilationTask
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            def dir = rootDir.createDir("target")
            def link = rootDir.file("source")
            link.createLink(dir)
            dir.deleteDir()
            def file = rootDir.createFile("hello.txt")
            file << "Hello world"
    
            def patternSet = new PatternSet()
            patternSet.include("*.txt")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

    repositories {
        maven { url '${repo1.uri}' }
        maven { url '${repo2.uri}' }
    }
    configurations { compile }
    dependencies {
        $dependencies
    }
    task deleteDir(type: Delete) {
        delete 'libs'
    }
    task retrieve(type: Copy, dependsOn: deleteDir) {
        into 'libs'
        from configurations.compile
    }
    """
        }
    
        def "includes jar artifact if present for pom with packaging of type 'pom'"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r14/ToolingApiInitScriptCrossVersionIntegrationTest.groovy

    @LeaksFileHandles
    class ToolingApiInitScriptCrossVersionIntegrationTest extends ToolingApiSpecification {
    
        TestFile createDistribution(int i) {
            def distro = temporaryDistributionFolder.file("distro$i")
            distro.deleteDir()
    
            distro.copyFrom(getTargetDist().getGradleHomeDir())
            distro.file("bin", OperatingSystem.current().getScriptName("gradle")).permissions = 'rwx------'
            distro.file("init.d/init.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(inDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            inDir.deleteDir()
            inDir.createLink(copy)
    
            run("work")
    
            /*
             * This documents the current behavior, which is optimizing
             * for performance at the expense of not detecting some corner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

            runCacheableBuild(pushToCacheEvents)
            then:
            !cacheableTaskResult(pushToCacheEvents).fromCache
            !cacheableTaskResult(pushToCacheEvents).upToDate
    
            when:
            file("build").deleteDir()
            and:
            def pullFromCacheResults = ProgressEvents.create()
            runCacheableBuild(pullFromCacheResults)
            then:
            cacheableTaskResult(pullFromCacheResults).fromCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/IntellijInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top