Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
val mtime = OS.FileSys.modTime filename; (* returns a Time.time data structure *)
|
||||
|
||||
(* unfortunately it seems like you have to set modification & access times together *)
|
||||
OS.FileSys.setTime (filename, NONE); (* sets modification & access time to now *)
|
||||
(* equivalent to: *)
|
||||
OS.FileSys.setTime (filename, SOME (Time.now ()))
|
||||
Loading…
Add table
Add a link
Reference in a new issue