- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 508 for _mkdir (0.11 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) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K 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) -
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) -
src/os/removeall_test.go
// The test is that we can remove them without calling fcntl // on each one. tmpdir := t.TempDir() subdir := filepath.Join(tmpdir, "subdir") if err := Mkdir(subdir, 0o755); err != nil { t.Fatal(err) } for i := 0; i < 100; i++ { subsubdir := filepath.Join(subdir, strconv.Itoa(i)) if err := Mkdir(filepath.Join(subdir, strconv.Itoa(i)), 0o755); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0) -
hack/verify-openapi-docs-urls.sh
source "${KUBE_ROOT}/hack/lib/init.sh" SPECROOT="${KUBE_ROOT}/api/openapi-spec" SPECV3PATH="${SPECROOT}/v3" _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")" mkdir -p "${_tmpdir}" trap 'rm -rf ${_tmpdir}' EXIT SIGINT trap "echo Aborted; exit;" SIGINT SIGTERM TMP_URLS="${_tmpdir}/docs_urls.txt" touch "${TMP_URLS}" for full_repo_path in "${SPECV3PATH}"/*.json; do
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:44:44 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy
import spock.lang.TempDir class DefaultJvmMetadataDetectorTest extends Specification { @TempDir File temporaryFolder TestFile tmpDir def setup() { tmpDir = new TestFile(new File(temporaryFolder, "tmp").tap { mkdirs() }) } def "cleans up generated Probe class"() { given: def execHandleFactory = createExecHandleFactory(currentGradle()) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 22.9K bytes - Viewed (0)