Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Mar 21, 2024
1 parent a3018af commit 18ef0e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public final class DirectorySink implements Consumer<Collection<Artifact>> {
* Creates plain "flat" directory sink that accepts all artifacts and writes them out having filenames as
* "A[-C]-V.E" and prevents overwrite (what you usually want).
* <p>
* This means that if your set of artifacts have artifacts will different groupIDs but same artifactIDs, this sink
* will fail to prevent overwrite.
* This means that if your set of artifacts have artifacts with different groupIDs but same artifactIDs, this sink
* will fail while accepting them, to prevent overwrite.
*/
public static DirectorySink flat(Output output, Path path) throws IOException {
return new DirectorySink(
output, path, ArtifactMatcher.unique(), ArtifactMapper.identity(), ArtifactNameMapper.ACVE(), false);
output, path, ArtifactMatcher.any(), ArtifactMapper.identity(), ArtifactNameMapper.ACVE(), false);
}

private final Output output;
Expand Down

0 comments on commit 18ef0e5

Please sign in to comment.