in src/main/scala/org/intellij/scala/bundle/Destination.scala [29:43]
def apply(entry: Entry): Unit = {
val file = directory / entry.name
entry.input match {
case Some(input) =>
file.getParentFile.mkdirs()
val output = new BufferedOutputStream(new FileOutputStream(file))
IOUtils.copy(input, output)
output.close()
case None =>
file.mkdirs()
}
file.setLastModified(entry.lastModified)
}