Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for deleteMin (0.33 sec)

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

            // delete .gradle dir to simulate this
            when:
            file('.gradle').assertIsDir().deleteDir()
            outputAFile.makeOlder()
            outputBFile.makeOlder()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":a", ":b")
    
            when:
            file('build/b').deleteDir()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            lockFileReaderWriter = new LockFileReaderWriter(resolver, context, lockFile, listener)
        }
    
        def 'writes a unique lock file'() {
            when:
            lockDir.deleteDir()
            lockFileReaderWriter.writeUniqueLockfile([a: ['foo', 'bar'], b: ['foo'], c: []])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            """
            when:
            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
    
            when:
            file("buildSrc/build").deleteDir()
            file("buildSrc/.gradle").deleteDir()
            cleanBuildDir()
    
            withBuildCache().run "customTask"
            then:
            result.groupedOutput.task(":customTask").outcome == "FROM-CACHE"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

                           TF_Status* status) {
      if (unlink(path) != 0)
        TF_SetStatusFromIOError(status, errno, path);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                          TF_Status* status) {
      if (rmdir(path) != 0)
        TF_SetStatusFromIOError(status, errno, path);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            sourceFile << """
                #include "directory"
    """
    
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            directoryHeader.deleteDir()
            directoryHeader << '#pragma message("NEW directory named header")'
            and:
            executer.withArgument("--info")
            run "mainExecutable"
            then:
            executedAndNotSkipped compileTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

                    def ivyRepo = layout.buildDirectory.dir("ivyRepo").get().asFile
                    doLast {
                        m2Repo.deleteDir()
                        ivyRepo.deleteDir()
                    }
                }
                def sign = project.getProperty("sign")
                if (sign == 'skip') {
                    tasks.withType(Sign)*.onlyIf { false }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    		Creds:     credentials.NewStaticV4(ui.Credentials.AccessKey, ui.Credentials.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: globalRemoteFTPClientTransport,
    	})
    }
    
    // DeleteDir implements ftpDriver
    func (driver *ftpDriver) DeleteDir(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                file("${outputDir}/data/input.txt")
            }
    
            String getTaskPath() {
                ":${taskName}"
            }
    
            void removeInputs() {
                inputFile.parentFile.deleteDir()
            }
    
            void createInputs() {
                inputFile.text = "input"
            }
    
            void outputsHaveBeenRemoved() {
                assert !outputFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            when:
            run "sync"
    
            then:
            result.assertTaskSkipped(':sync')
    
            when:
            file("files/dir2").deleteDir()
            file("files/dir3/file3.txt") << ""
            run "sync"
    
            then:
            result.assertTaskNotSkipped(":sync")
            file("output").assertHasDescendants("file1.txt", "file3.txt")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

            gradleLauncherJar.parentFile.createDir()
            gradleLauncherJar.write('something')
            explodedZipDir.zipTo(new TestFile(zipDestination))
            explodedZipDir.deleteDir();
        }
    
        def "installs distribution and reuses on subsequent access"() {
            given:
            _ * pathAssembler.getDistribution(configuration) >> localDistribution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top