src/Pure/System/isabelle_system.scala
changeset 73945 e61add9d5b5e
parent 73911 a8c5ee444991
child 73987 fc363a3b690a
equal deleted inserted replaced
73944:3cee9d20308e 73945:e61add9d5b5e
   151   /* directories */
   151   /* directories */
   152 
   152 
   153   def make_directory(path: Path): Path =
   153   def make_directory(path: Path): Path =
   154   {
   154   {
   155     if (!path.is_dir) {
   155     if (!path.is_dir) {
   156       try { Files.createDirectories(path.file.toPath) }
   156       try { Files.createDirectories(path.java_path) }
   157       catch { case ERROR(_) => error("Failed to create directory: " + path.absolute) }
   157       catch { case ERROR(_) => error("Failed to create directory: " + path.absolute) }
   158     }
   158     }
   159     path
   159     path
   160   }
   160   }
   161 
   161