Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,177 for path1a (0.04 seconds)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
         * @param pathToCheck the path to validate (must not be {@literal null})
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. tests/test_request_params/test_form/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 285 bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java

    /**
     * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the
     * bean configuration against some base directory.
     *
     */
    public interface BeanConfigurationPathTranslator {
    
        /**
         * Translates the specified path.
         *
         * @param path The path to translate, may be {@code null}.
         * @return The translated path or {@code null} if none.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. pom.xml

    						<data>
    							<type>files</type>
    							<paths>
    								<path>${project.basedir}/src/main/assemblies/files/fess</path>
    								<path>${project.basedir}/src/main/assemblies/files/fess.in.sh</path>
    								<path>${project.basedir}/src/main/assemblies/files/generate-thumbnail</path>
    								<path>${project.basedir}/plugin.xml</path>
    							</paths>
    							<dst>${packaging.fess.bin.dir}</dst>
    							<mapper>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 08:30:43 GMT 2025
    - 49.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

            return localRepository.pathOfLocalRepositoryMetadata(metadata, repository);
        }
    
        @Override
        public String pathOf(Artifact artifact) {
            return localRepository.pathOf(artifact);
        }
    
        @Override
        public boolean hasLocalMetadata() {
            return true;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_static_files/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        static_dir.mkdir(exist_ok=True)
        sample_file = static_dir / "sample.txt"
        sample_file.write_text("This is a sample static file.")
        from docs_src.static_files.tutorial001_py39 import app
    
        with TestClient(app) as client:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    # Path Operationの高度な設定
    
    ## OpenAPI operationId
    
    /// warning | 注意
    
    あなたがOpenAPIの「エキスパート」でなければ、これは必要ないかもしれません。
    
    ///
    
    *path operation* で `operation_id` パラメータを利用することで、OpenAPIの `operationId` を設定できます。
    
    `operation_id` は各オペレーションで一意にする必要があります。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial001.py hl[6] *}
    
    ### *path operation関数* の名前をoperationIdとして使用する
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations { #path-parameters-and-numeric-validations }
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import `Path` { #import-path }
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                                new UpgradeResult(Set.of(Paths.get("pom.xml")), Set.of(Paths.get("pom.xml")), Set.of()));
    
                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(new UpgradeResult(
                                Set.of(Paths.get("module/pom.xml")), Set.of(Paths.get("module/pom.xml")), Set.of()));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top