equal
deleted
inserted
replaced
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 |