equal
deleted
inserted
replaced
310 |
310 |
311 fun export_physical root format pretty_modules = |
311 fun export_physical root format pretty_modules = |
312 (case pretty_modules of |
312 (case pretty_modules of |
313 Singleton (_, p) => File.write root (format p) |
313 Singleton (_, p) => File.write root (format p) |
314 | Hierarchy code_modules => |
314 | Hierarchy code_modules => |
315 (Isabelle_System.mkdirs root; |
315 (Isabelle_System.make_directory root; |
316 List.app (fn (names, p) => |
316 List.app (fn (names, p) => |
317 File.write (Path.appends (root :: map Path.basic names)) (format p)) code_modules)); |
317 File.write (Path.appends (root :: map Path.basic names)) (format p)) code_modules)); |
318 |
318 |
319 in |
319 in |
320 |
320 |