equal
deleted
inserted
replaced
87 fun tmp_path path = Path.variable "ISABELLE_TMP" + Path.base path; |
87 fun tmp_path path = Path.variable "ISABELLE_TMP" + Path.base path; |
88 |
88 |
89 |
89 |
90 (* directory entries *) |
90 (* directory entries *) |
91 |
91 |
92 val exists = can OS.FileSys.modTime o platform_path; |
92 val exists = can OS.FileSys.fileId o platform_path; |
93 |
93 |
94 val rm = OS.FileSys.remove o platform_path; |
94 val rm = OS.FileSys.remove o platform_path; |
95 |
95 |
96 fun test_dir path = the_default false (try OS.FileSys.isDir (platform_path path)); |
96 fun test_dir path = the_default false (try OS.FileSys.isDir (platform_path path)); |
97 fun is_dir path = exists path andalso test_dir path; |
97 fun is_dir path = exists path andalso test_dir path; |