- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fromPath (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
@Nonnull static SettingsBuilderRequest build( @Nonnull ProtoSession session, @Nonnull Path installationSettingsPath, @Nonnull Path userSettingsPath) { return build(session, Sources.fromPath(installationSettingsPath), null, Sources.fromPath(userSettingsPath)); } @Nonnull static SettingsBuilderRequest build( @Nonnull ProtoSession session, @Nullable Source installationSettingsSource,Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } } @Test void testNullHandling() { assertThrows(NullPointerException.class, () -> Sources.fromPath(null));Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
? Sources.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsPath != null && Files.exists(userToolchainsPath) ? Sources.fromPath(userToolchainsPath) : null) .build(); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 6.3K bytes - Viewed (0) -
src/cmd/api/main_test.go
func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) { pkg, err := w.importFrom(fromPath, fromDir, mode) if err != nil { return nil, err } return pkg.Package, nil } func (w *Walker) import_(name string) (*apiPackage, error) { return w.importFrom(name, "", 0) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /** * Creates a new build source for the specified path.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
RELEASE.md
Deven Desai, Diego Caballero, Duncan Dean, Duncan Riach, Dwight J Lyle, Eamon Ito-Fisher, eashtian3, EFanZh, ejot, Elroy Ashtian Jr, Eric Schweitz, Fangjun Kuang, Fei Hu, fo40225, formath, Fred Reiss, Frederic Bastien, Fredrik Knutsson, G. Hussain Chinoy, Gabriel, gehring, George Grzegorz Pawelczak, Gianluca Varisco, Gleb Popov, Greg Peatfield, Guillaume Klein, Gurpreet Singh, Gustavo
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (2)