src/Pure/System/isabelle_system.scala
changeset 77027 ac7af931189f
parent 76625 3bacdff9e24f
child 77079 395a0701a125
equal deleted inserted replaced
77026:808412ec2e13 77027:ac7af931189f
   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 */