Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for path (3.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                        Artifact artifact = session.getArtifact(result.getArtifact());
                        Path path = result.getArtifact().getPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path)
         */
        void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path);
    
        /**
         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            try {
                Path artifactPath = getProjectLocalRepo()
                        .resolve(project.getGroupId())
                        .resolve(project.getArtifactId())
                        .resolve(project.getVersion());
                if (Files.isDirectory(artifactPath)) {
                    try (Stream<Path> paths = Files.list(artifactPath)) {
                        for (Path path : (Iterable<Path>) paths::iterator) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
            this.path = path;
            this.location = location != null ? location : path.toString();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/behind-a-proxy.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    If you use Hypercorn, it also has the option `--root-path`.
    
    !!! note "Technical Details"
        The ASGI specification defines a `root_path` for this use case.
    
        And the `--root-path` command line option provides that `root_path`.
    
    ### Checking the current `root_path`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            this.timestamp = timestamp;
        }
    
        @Override
        public String getType() {
            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
                path = ((DefaultArtifact) artifact).getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull Artifact artifact, Path path) {
            String id = id(nonNull(artifact, "artifact"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    	_, err := storageUpdateMetadataRPC.Call(ctx, client.gridConn, &MetadataHandlerParams{
    		DiskID:     *client.diskID.Load(),
    		Volume:     volume,
    		FilePath:   path,
    		UpdateOpts: opts,
    		FI:         fi,
    	})
    	return toStorageErr(err)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/openapi-callbacks.md

    ```Python hl_lines="3  25"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### Create the callback *path operation*
    
    To create the callback *path operation* use the same `APIRouter` you created above.
    
    It should look just like a normal FastAPI *path operation*:
    
    * It should probably have a declaration of the body it should receive, e.g. `body: InvoiceEvent`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	return nil
    }
    
    func getValidPath(path string) (string, error) {
    	if path == "" {
    		return path, errInvalidArgument
    	}
    
    	var err error
    	// Disallow relative paths, figure out absolute paths.
    	path, err = filepath.Abs(path)
    	if err != nil {
    		return path, err
    	}
    
    	fi, err := Lstat(path)
    	if err != nil && !osIsNotExist(err) {
    		return path, err
    	}
    	if osIsNotExist(err) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top