Utility functions concerning the OCaml-runtime
val file_kind : string ‑> Core.Unix.file_kindval last_accessed : ?follow_symlinks:bool ‑> string ‑> Core.Time.t optionlast_accessed path returns the time path was last accessed.
For files, the access time is updated whenever the file is read or executed.
Note that some filesystems do not implement access time updates, or may allow
mounting with access time updates disabled.
val last_accessed_exn : ?follow_symlinks:bool ‑> string ‑> Core.Time.tval last_modified : ?follow_symlinks:bool ‑> string ‑> Core.Time.t optionlast_modify path returns the time the file at path was last modified.
For files, the modify time is updated whenever path is written to, or if
its status attributes are updated.
val last_modified_exn : ?follow_symlinks:bool ‑> string ‑> Core.Time.tval last_changed : ?follow_symlinks:bool ‑> string ‑> Core.Time.t optionlast_changed path returns the time path last had its status changed.
This is not the same as last modified, as the last status change will also
be updated if path's ownership or permissions change.
val last_changed_exn : ?follow_symlinks:bool ‑> string ‑> Core.Time.tval file_size : ?follow_symlinks:bool ‑> string ‑> Core.Int64.t optionval file_size_exn : ?follow_symlinks:bool ‑> string ‑> Core.Int64.t