src/Pure/General/file.scala
changeset 75823 6eb8d6cdb686
parent 75701 84990c95712d
child 75824 a2b2e8964e1a
equal deleted inserted replaced
75822:0a14663dffcc 75823:6eb8d6cdb686
   328       File.write(full_path, content)
   328       File.write(full_path, content)
   329     }
   329     }
   330   }
   330   }
   331 
   331 
   332   final class Content_XML private[File](val path: Path, val content: XML.Body) {
   332   final class Content_XML private[File](val path: Path, val content: XML.Body) {
       
   333     override def toString: String = path.toString
       
   334 
   333     def output(out: XML.Body => String): Content_String =
   335     def output(out: XML.Body => String): Content_String =
   334       new Content_String(path, out(content))
   336       new Content_String(path, out(content))
   335   }
   337   }
   336 }
   338 }