Module Bos_os_u

type 'a result = ('a, [ `Unix of Unix.error ]) Rresult.result
val pp_error : Format.formatter -> [< `Unix of Unix.error ] -> unit
val open_error : ('a, [< `Unix of 'b ]) Rresult.result -> ('a, [> `Unix of 'b ]) Rresult.result
val error_to_msg : ('a, [< `Unix of Unix.error ]) Rresult.result -> ('a, [> Rresult.R.msg ]) Rresult.result
val call : ('a -> 'b) -> 'a -> ('b, [> `Unix of Unix.error ]) Rresult.result
val mkdir : Fpath.t -> Unix.file_perm -> (unit, [> `Unix of Unix.error ]) Rresult.result
val rename : Fpath.t -> Fpath.t -> (unit, [> `Unix of Unix.error ]) Rresult.result
val stat : Fpath.t -> (Unix.stats, [> `Unix of Unix.error ]) Rresult.result
val lstat : Fpath.t -> (Unix.stats, [> `Unix of Unix.error ]) Rresult.result
val truncate : Fpath.t -> int -> (unit, [> `Unix of Unix.error ]) Rresult.result