Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 184 for mkdirp (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                test.doFirst(new Action<>() {
                    @Override
                    public void execute(Task t) {
                        mkdirs(testOutputDir);
                        mkdirs(heapdumpDir);
                        mkdirs(test.getWorkingDir());
                        mkdirs(test.getWorkingDir().toPath().resolve("temp").toFile());
    
                        // TODO remove once jvm.options are added to test system properties
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final FessAdminAction action = createAction();
            System.setProperty("fess.var.path", varDir.toString());
            final File testFile = new File(varDir.toFile(), "data/test.txt");
            testFile.getParentFile().mkdirs();
            testFile.createNewFile();
    
            // Should not throw
            action.validateFilePath(testFile.getAbsolutePath());
        }
    
        @Test
        public void test_validateFilePath_pathOutsideVarPath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  3. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            projectDir.resolve("failed-report-with-leftover").mkdirs()
            projectDir.resolve("flaky-test-with-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
            projectDir.resolve("flaky-test-without-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
            projectDir.resolve("successful-report").mkdirs()
    
            projectDir.resolve("build.gradle.kts").writeText(
                """
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. .github/workflows/maven.yml

          - name: Prepare Mimir for Maven 4.x
            shell: bash
            run: |
              mkdir -p ${{ env.MIMIR_BASEDIR }}
              cp .github/ci-mimir-session.properties ${{ env.MIMIR_BASEDIR }}/session.properties
              cp .github/ci-mimir-daemon.properties ${{ env.MIMIR_BASEDIR }}/daemon.properties
              mkdir -p ~/.m2
              cp .github/ci-extensions.xml ~/.m2/extensions.xml
    
          - name: Restore Mimir caches
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 24 08:21:28 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/conftest.py

    @pytest.fixture(name="root_dir")
    def prepare_paths(runner):
        docs_dir = Path("docs")
        en_docs_dir = docs_dir / "en" / "docs"
        lang_docs_dir = docs_dir / "lang" / "docs"
        en_docs_dir.mkdir(parents=True, exist_ok=True)
        lang_docs_dir.mkdir(parents=True, exist_ok=True)
        yield Path.cwd()
    
    
    @pytest.fixture
    def copy_test_files(root_dir: Path, request: pytest.FixtureRequest):
        en_file_path = Path(request.param[0])
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            ThumbnailManager manager = new ThumbnailManager() {
                @Override
                public void init() {
                    baseDir = new File(tempDir, "nonexistent/dir");
                    if (baseDir.mkdirs()) {
                        logger.info("Created: {}", baseDir.getAbsolutePath());
                    }
                    if (!baseDir.isDirectory()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

        }
    
        private
        fun generateHtmlReport(data: Map<String, ProjectNameToProblems>) {
            val outputFile = parameters.htmlReportFile.get().asFile
            outputFile.parentFile.mkdirs()
            outputFile.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
           <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

      echo "Use 'devtoolset-7' to build a manylinux2010 compatible toolchain or 'devtoolset-9' to build a manylinux2014 compatible toolchain"
      exit 1
      ;;
    esac
    
    mkdir -p "${TARGET}"
    
    # Download glibc's shared and development libraries based on the value of the
    # `VERSION` parameter.
    # Note: 'Templatizing' this and the other conditional branches would require
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 16 21:51:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  9. cmd/os-instrumented.go

    	defer updateOSMetrics(osMetricRemoveAll, dirPath)(err)
    	return os.RemoveAll(dirPath)
    }
    
    // Mkdir captures time taken to call os.Mkdir
    func Mkdir(dirPath string, mode os.FileMode) (err error) {
    	defer updateOSMetrics(osMetricMkdir, dirPath)(err)
    	return os.Mkdir(dirPath, mode)
    }
    
    // MkdirAll captures time taken to call os.MkdirAll
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

                Thread.sleep(20);
            } catch (InterruptedException e) {
                // ignore
            }
    
            File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis());
    
            dir.mkdirs();
            markForDeletion(dir);
    
            return dir;
        }
    
        public synchronized File createTempFile() throws IOException {
            File tempFile = File.createTempFile(baseFilename, fileSuffix);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top