Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,936 for pathf (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                    @Override
                    public Optional<Path> getPath(Artifact artifact) {
                        return Optional.ofNullable(paths.get(artifact));
                    }
    
                    @Override
                    public void setPath(ProducedArtifact artifact, Path path) {
                        paths.put(artifact, path);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File file = new File(remoteRepo.getBasedir(), path);
    
            assertFalse(file.exists(), "Remote artifact " + file + " should not be present.");
        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

    @Warmup(iterations = 3)
    @Measurement(time = 10)
    public class Xpp3DomPerfTest {
        @State(Scope.Benchmark)
        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/static-files.md

    ///
    
    ### What is "Mounting"
    
    "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
    
    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:45:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli;
    
    import java.io.File;
    import java.nio.file.Paths;
    
    /**
     * Resolve relative file path against the given base directory
     */
    public class ResolveFile {
        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tests/test_repeated_parameter_alias.py

    from fastapi import FastAPI, Path, Query, status
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_header_params/test_tutorial002_an.py

            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Types of path (class-path, module-path, …) where the dependency can be placed.
         * For most deterministic builds, the array length should be 1. In such case,
         * the dependency will be unconditionally placed on the specified type of path
         * and no heuristic rule will be involved.
         *
         * <p>It is nevertheless common to specify two or more types of path. For example,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

         *            translation.
         */
        public BasedirBeanConfigurationPathTranslator(File basedir) {
            this.basedir = basedir;
        }
    
        public File translatePath(File path) {
            File result = path;
    
            if (path != null && basedir != null) {
                if (path.isAbsolute()) {
                    // path is already absolute, we're done
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top