equal
deleted
inserted
replaced
145 in (map Path.explode_binding files, thy) end; |
145 in (map Path.explode_binding files, thy) end; |
146 |
146 |
147 fun write_file dir (file: file) = |
147 fun write_file dir (file: file) = |
148 let |
148 let |
149 val path = Path.expand (Path.append dir (#path file)); |
149 val path = Path.expand (Path.append dir (#path file)); |
150 val _ = Isabelle_System.mkdirs (Path.dir path); |
150 val _ = Isabelle_System.make_directory (Path.dir path); |
151 val _ = File.generate path (#content file); |
151 val _ = File.generate path (#content file); |
152 in () end; |
152 in () end; |
153 |
153 |
154 fun export_file thy (file: file) = |
154 fun export_file thy (file: file) = |
155 Export.export thy (file_binding file) [XML.Text (#content file)]; |
155 Export.export thy (file_binding file) [XML.Text (#content file)]; |