Bos_os_fileval uerror : Unix.error -> stringval null : Fpath.tval dash : Fpath.tval is_dash : Fpath.t -> boolval exists : Fpath.t -> (bool, [> Rresult.R.msg ]) Rresult.resultval must_exist : Fpath.t -> (Fpath.t, [> Rresult.R.msg ]) Rresult.resultval delete :
?must_exist:bool ->
Fpath.t ->
(unit, [> Rresult.R.msg ]) Rresult.resultval truncate : Fpath.t -> int -> (unit, [> Rresult.R.msg ]) Rresult.resultval is_executable : Fpath.t -> booltype input = unit -> (Bytes.t * int * int) optionval with_input :
?bytes:bytes ->
Fpath.t ->
((unit -> (bytes * int * int) option) -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) Rresult.resultval with_ic :
Fpath.t ->
(in_channel -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) Rresult.resultval read : Fpath.t -> (string, [> Rresult.R.msg ]) Rresult.resultval fold_lines :
('a -> string -> 'a) ->
'a ->
Fpath.t ->
('a, [> Rresult.R.msg ]) Rresult.resultval read_lines : Fpath.t -> (string list, [> Rresult.R.msg ]) Rresult.resulttype tmp_name_pat = (string -> string, Format.formatter, unit, string) format4val unlink_tmp : Fpath.t -> unitval tmps_add : Fpath.path -> unitval tmps_rem : Fpath.path -> unitval create_tmp_path :
Unix.file_perm ->
Fpath.t ->
(string -> string, Format.formatter, unit, string) format4 ->
(Fpath.t * Unix.file_descr, [> Rresult.R.msg ]) Rresult.resultval tmp :
?mode:Unix.file_perm ->
?dir:Fpath.t ->
(string -> string, Format.formatter, unit, string) format4 ->
(Fpath.path, [> Rresult.R.msg ]) Rresult.resultval with_tmp_oc :
?mode:Unix.file_perm ->
?dir:Fpath.t ->
(string -> string, Format.formatter, unit, string) format4 ->
(Fpath.path -> out_channel -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) Rresult.resultval with_tmp_output :
?mode:Unix.file_perm ->
?dir:Fpath.t ->
(string -> string, Format.formatter, unit, string) format4 ->
(Fpath.path -> ((bytes * int * int) option -> unit) -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) Rresult.resulttype output = (Bytes.t * int * int) option -> unitval rename : Fpath.t -> Fpath.t -> (unit, [> Rresult.R.msg ]) Rresult.resultval stdout_with_output :
(((bytes * int * int) option -> unit) -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) Rresult.resultval with_output :
?mode:Unix.file_perm ->
Fpath.t ->
(((bytes * int * int) option -> unit) -> 'a -> ('b, 'c) Rresult.result) ->
'a ->
(('b, 'c) Rresult.result, [> Rresult.R.msg ]) Rresult.resultval with_oc :
?mode:Unix.file_perm ->
Fpath.t ->
(out_channel -> 'a -> ('b, 'c) Rresult.result) ->
'a ->
(('b, 'c) Rresult.result, [> Rresult.R.msg ]) Rresult.resultval write :
?mode:Unix.file_perm ->
Fpath.t ->
string ->
(unit, [> Rresult.R.msg ]) Rresult.resultval writef :
?mode:Unix.file_perm ->
Fpath.t ->
('a, Format.formatter, unit, (unit, [> Rresult.R.msg ]) Rresult.result)
format4 ->
'aval write_lines :
?mode:Unix.file_perm ->
Fpath.t ->
string list ->
(unit, [> Rresult.R.msg ]) Rresult.result