Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for _rmdir (0.14 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/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

                    "bin",
                    kotlinFilesIn(srcDir),
                    loggerFor<ProjectAccessorsClassPathTest>(),
                    classPath.asFiles
                )
            )
        }
    
        private
        fun kotlinFilesIn(srcDir: File) =
            srcDir.walkTopDown().filter { it.isFile && it.extension == "kt" }.toList()
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentSourceSetIntegrationTest.groovy

                        source.srcDir "src/main/comp-a"
                    }
                    compB(LibrarySourceSet) {
                        source.srcDir "src/main/comp-b"
                    }
                }
                binaries {
                    bin(SampleBinary) {
                        sources {
                            binaryA(LibrarySourceSet) {
                                source.srcDir "src/main/binary-a"
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            when:
            set.srcDir 'dir1'
            set.srcDir 'dir2'
    
            then:
            assertSetContainsForAllTypes(set, 'subdir/file1.txt')
        }
    
        void failsWhenSourceDirectoryIsNotADirectory() {
            File srcDir = new File(testDir, 'dir1')
            touch(srcDir)
    
            when:
            set.srcDir 'dir1'
            set.addToAntBuilder("node", "fileset")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

    apply plugin: 'cpp'
    model {
        repositories {
            libs1(PrebuiltLibraries) {
                nope {
                    headers.srcDir "not/here"
                }
            }
            libs2(PrebuiltLibraries) {
                hello {
                    headers.srcDir "libs/src/hello/headers"
                    binaries.withType(StaticLibraryBinary) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            main(NativeExecutableSpec) {
                sources {
                    c {
                        source.srcDir "src/test/c"
                        exportedHeaders.srcDir "src/test/headers"
                    }
                    cpp {
                        source.srcDir "src/test/cpp"
                        exportedHeaders.srcDir "src/test/headers"
                    }
                }
            }
        }
    }
    """
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    	if len(redir.excludeInboundPorts) > 0 && redir.excludeInboundPorts[len(redir.excludeInboundPorts)-1] != ',' {
    		redir.excludeInboundPorts += ","
    	}
    	redir.excludeInboundPorts += "15020,15021,15090"
    	redir.excludeInboundPorts = strings.Join(dedupPorts(splitPorts(redir.excludeInboundPorts)), ",")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/go/build/build_test.go

    			t.Logf("%q expands to %q with SRCDIR=%q", test.input, output, expandSrcDirPath)
    		}
    	}
    }
    
    func TestShellSafety(t *testing.T) {
    	tests := []struct {
    		input, srcdir, expected string
    		result                  bool
    	}{
    		{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", true},
    		{"-I${SRCDIR}", "~wtf$@%^", "-I~wtf$@%^", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultSourceDirectorySet.java

                } else {
                    for (File srcDir : fileCollectionFactory.resolving(path)) {
                        if (!srcDir.isDirectory() && srcDir.exists()) {
                            throw new InvalidUserDataException(String.format("Source directory '%s' is not a directory.", srcDir));
                        }
                        result.add(directoryFileTreeFactory.create(srcDir, patterns));
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 29 02:23:21 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top