- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 818 for _mkdir (0.12 sec)
-
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
} resetConfigDir(tmpDir, dirsToClean, false) // Verify the files we cleanup implicitly in every test: assertExists(t, tmpDir) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.AdminKubeConfigFileName)) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.KubeletKubeConfigFileName)) assertDirEmpty(t, filepath.Join(tmpDir, "manifests"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
File tmpDir = TempFiles.createTempFile(prefix, suffix, dir); if (!tmpDir.delete()) { throw new IOException("Failed to delete file: " + tmpDir); } if (!tmpDir.mkdir()) { throw new IOException("Failed to make directory: " + tmpDir); } return tmpDir; } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy
private RevCommit c2 TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) GitFileRepository repo = new GitFileRepository(tmpDir.getTestDirectory()) GitFileRepository repo2 = new GitFileRepository(tmpDir.getTestDirectory().file('other')) GitFileRepository submoduleRepo = new GitFileRepository("submodule", tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 13:11:16 UTC 2024 - 8.4K bytes - Viewed (0) -
src/os/path_test.go
if runtime.GOOS == "windows" { path := tmpDir + `\_TestMkdirAll_\dir\.\dir2\` err := MkdirAll(path, 0777) if err != nil { t.Fatalf("MkdirAll %q: %s", path, err) } } } func TestMkdirAllWithSymlink(t *testing.T) { testenv.MustHaveSymlink(t) t.Parallel() tmpDir := t.TempDir() dir := tmpDir + "/dir" if err := Mkdir(dir, 0755); err != nil { t.Fatalf("Mkdir %s: %s", dir, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
# Go command. Here the idea is to pass "-tmpdir" to the linker, then # check after the link is done for the presence of the file # <tmpdir>/go.o, which the Go linker creates prior to kicking off the # external linker. mkdir tmp1 mkdir tmp2 mkdir tmp3 mkdir tmp4 mkdir tmp5 # First build: no external linking expected go build -ldflags=-tmpdir=tmp1 -o $devnull ./noUseOfCgo &
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/util/removeall/removeall_test.go
for _, test := range tests { tmpDir, err := utiltesting.MkTmpdir("removeall-" + test.name + "-") if err != nil { t.Fatalf("Can't make a tmp dir: %v", err) } defer os.RemoveAll(tmpDir) // Create the directory structure for _, item := range test.items { if strings.HasSuffix(item, "/") { item = strings.TrimRight(item, "/") if err = os.Mkdir(filepath.Join(tmpDir, item), 0777); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 20:35:13 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy
rootProject.name = 'module-main' include 'module-b' includeBuild('subfolder/module-b') { name = 'included-module-b' } """ file('module-b').mkdir() file('subfolder/module-b').mkdirs() when: def allProjects = withConnection {c -> c.action(new IdeaProjectUtil.GetAllIdeaProjectsAction()).run() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_relative_tmpdir.txt
env GO111MODULE=off # If GOTMPDIR is relative, 'go build' should derive an absolute $WORK directory. cd $WORK mkdir tmp env GOTMPDIR=tmp go build -work a stderr 'WORK='$WORK # Similarly if TMP/TMPDIR is relative. env GOTMPDIR= env TMP=tmp # Windows env TMPDIR=tmp # Unix go build -work a stderr 'WORK='$WORK -- a/a.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:16 UTC 2022 - 337 bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy
@Rule final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def jarFile = tmpDir.file("mydir/jarfile.jar").createFile() def "creates manifest classpath with relative urls"() { when: def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')] then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 4.7K bytes - Viewed (0)