- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PathSource (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* Basic implementation of {@link Source} that uses a {@link Path} as the underlying source. */ static class PathSource implements Source { @Nonnull protected final Path path; @Nonnull protected final String location; /** * Constructs a new PathSource with the specified path. * * @param path the filesystem path to the source contentRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.2K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
} @Test void testPathSourceFunctionality() { // Test basic source functionality Path path = Paths.get("/tmp"); Sources.PathSource source = (Sources.PathSource) Sources.fromPath(path); assertEquals(path.normalize(), source.getPath()); assertEquals(path.toString(), source.getLocation()); Source resolved = source.resolve("subdir");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0)