Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for _rmdir (0.2 sec)

  1. pkg/kubelet/kubelet_volumes.go

    // when this is called, so it effectively does a recursive rmdir instead of
    // RemoveAll to ensure it only removes empty directories and files that were
    // used as mount points, but not content of the mount points.
    func (kl *Kubelet) removeOrphanedPodVolumeDirs(uid types.UID) []error {
    	orphanVolumeErrors := []error{}
    
    	// If there are still volume directories, attempt to rmdir them
    	volumePaths, err := kl.getPodVolumePathListFromDisk(uid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

                    inputFiles.from($fileTree.$pattern)
                }
            """
            def srcDir = createDir('src') {
                file('foo.ok').write('')
                file('foo.fail').write('')
            }
            if (isZip) {
                srcDir.zipTo(file('src.zip'))
            }
    
            and:
            def configurationCache = newConfigurationCacheFixture()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProcessResourcesIntegrationTest.groovy

        def 'java source files are excluded by default'() {
            given:
            buildFile '''
                plugins {
                    id 'java'
                }
                sourceSets {
                    main.resources.srcDir 'src/main/java'
                    main.resources.exclude '**/*.kt' // Forces an intersection pattern set to be created behind the scenes
                }
            '''
            createDir('src/main') {
                dir('java') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    fun BuildFeatures.publishBuildStatusToGithub(model: CIBuildModel) {
        if (model.publishStatusToGitHub) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/os/removeall_at.go

    	"io"
    	"syscall"
    )
    
    func removeAll(path string) error {
    	if path == "" {
    		// fail silently to retain compatibility with previous behavior
    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    	// The rmdir system call does not permit removing ".",
    	// so we don't permit it either.
    	if endsWithDot(path) {
    		return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
    	}
    
    	// Simple case: if Remove works, we're done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/build.gradle.kts

        packageName = "org.gradle.integtests.fixtures"
        destDir = layout.buildDirectory.dir("generated/sources/language-annotations/groovy/main")
    }
    
    sourceSets.main {
        groovy.srcDir(generateLanguageAnnotations.flatMap { it.destDir })
        output.dir(prepareVersionsInfo.map { it.destFile.get().asFile.parentFile })
        output.dir(copyTestedVersionsInfo)
    }
    
    @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. cmd/sftp-server-driver.go

    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return err
    	}
    
    	switch r.Method {
    	case "Setstat", "Rename", "Link", "Symlink":
    		return sftp.ErrSSHFxOpUnsupported
    
    	case "Rmdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("deleting all buckets not allowed")
    		}
    
    		cctx, cancel := context.WithCancel(context.Background())
    		defer cancel()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            given:
            settingsFile << """
                rootProject.name = 'somelib'
            """
            buildFile << """
                plugins { id 'java' }
    
                sourceSets.main.java.srcDir("src/common/java")
            """
            file("src/common/java/OtherThing.java") << """
                class OtherThing {
                }
            """
            file("src/main/java/Thing.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

      fi
    }
    
    # Creates a symlink for a ($1) so that it may be used as block storage
    function safe-block-symlink(){
      local device="${1}"
      local symdir="${2}"
    
      mkdir -p "${symdir}"
    
      get-or-generate-uuid "${device}"
      local myuuid="${retuuid}"
    
      local sym="${symdir}/local-ssd-${myuuid}"
      # Do not "mkdir -p ${sym}" as that will cause unintended symlink behavior
      ln -s "${device}" "${sym}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top