equal
deleted
inserted
replaced
541 def download_file(url_name: String, file: Path, progress: Progress = new Progress): Unit = |
541 def download_file(url_name: String, file: Path, progress: Progress = new Progress): Unit = |
542 Bytes.write(file, download(url_name, progress = progress).bytes) |
542 Bytes.write(file, download(url_name, progress = progress).bytes) |
543 |
543 |
544 object Download extends Scala.Fun("download", thread = true) { |
544 object Download extends Scala.Fun("download", thread = true) { |
545 val here = Scala_Project.here |
545 val here = Scala_Project.here |
546 override def invoke(args: List[Bytes]): List[Bytes] = |
546 override def invoke(session: Session, args: List[Bytes]): List[Bytes] = |
547 args.map(url => download(url.text).bytes) |
547 args.map(url => download(url.text).bytes) |
548 } |
548 } |
549 |
549 |
550 |
550 |
551 /* repositories */ |
551 /* repositories */ |