- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PathSource (0.19 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 content
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0)