Returns the concatenation of this classpath with other.
This is useful for structural sharing of Classpath Entries. e.g. in the following example
the standard library is loaded once and shared between two classpaths:
Returns the concatenation of this classpath with other.
This is useful for structural sharing of Classpath Entries. e.g. in the following example
the standard library is loaded once and shared between two classpaths:
val stdLibCp = ClasspathLoaders.read(standardLibraryPaths)
val libV101Cp = ClasspathLoaders.read(List(Paths.get("path/to/lib-1.0.1.jar"))) ++ stdLibCp
val libV102Cp = ClasspathLoaders.read(List(Paths.get("path/to/lib-1.0.2.jar"))) ++ stdLibCp