Module Os.Path

val exists : Fpath.t -> (bool, string) result
val must_exist : Fpath.t -> (unit, string) result
val delete : recurse:bool -> Fpath.t -> (bool, string) result
val rename : force:bool -> make_path:bool -> src:Fpath.t -> Fpath.t -> (unit, string) result
val realpath : Fpath.t -> (Fpath.t, string) result
val copy : ?rel:bool -> ?atomic:bool -> ?follow_symlinks:bool -> ?prune:(Unix.stats -> string -> Fpath.t -> bool) -> make_path:bool -> recurse:bool -> src:Fpath.t -> Fpath.t -> (unit, string) result
val get_mode : Fpath.t -> (int, string) result
val set_mode : Fpath.t -> int -> (unit, string) result
val stat : Fpath.t -> (Unix.stats, string) result
val is_mount_point : Fpath.t -> (bool, string) result
type tmp_name = (string -> string, unit, string) format
val tmp : ?make_path:bool -> ?dir:Fpath.t -> ?name:tmp_name -> unit -> (Fpath.t, string) result