OS.Fileval null : Fpath.tval dash : Fpath.tval exists : Fpath.t -> (bool, [> Rresult.R.msg ]) resultval must_exist : Fpath.t -> (Fpath.t, [> Rresult.R.msg ]) resultval delete : ?must_exist:bool -> Fpath.t -> (unit, [> Rresult.R.msg ]) resultval truncate : Fpath.t -> int -> (unit, [> Rresult.R.msg ]) resultval is_executable : Fpath.t -> booltype input = unit -> (Bytes.t * int * int) optionval with_input :
?bytes:Bytes.t ->
Fpath.t ->
(input -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) resultval with_ic :
Fpath.t ->
(in_channel -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) resultval read : Fpath.t -> (string, [> Rresult.R.msg ]) resultval read_lines : Fpath.t -> (string list, [> Rresult.R.msg ]) resultval fold_lines :
('a -> string -> 'a) ->
'a ->
Fpath.t ->
('a, [> Rresult.R.msg ]) resulttype output = (Bytes.t * int * int) option -> unitval with_output :
?mode:int ->
Fpath.t ->
(output -> 'a -> ('c, [> Rresult.R.msg ] as 'b) result) ->
'a ->
(('c, 'b) result, [> Rresult.R.msg ]) resultval with_oc :
?mode:int ->
Fpath.t ->
(out_channel -> 'a -> ('c, [> Rresult.R.msg ] as 'b) result) ->
'a ->
(('c, 'b) result, [> Rresult.R.msg ]) resultval write : ?mode:int -> Fpath.t -> string -> (unit, [> Rresult.R.msg ]) resultval writef :
?mode:int ->
Fpath.t ->
('a, Format.formatter, unit, (unit, [> Rresult.R.msg ]) result) format4 ->
'aval write_lines :
?mode:int ->
Fpath.t ->
string list ->
(unit, [> Rresult.R.msg ]) resulttype tmp_name_pat = (string -> string, Format.formatter, unit, string) format4val tmp :
?mode:int ->
?dir:Fpath.t ->
tmp_name_pat ->
(Fpath.t, [> Rresult.R.msg ]) resultval with_tmp_output :
?mode:int ->
?dir:Fpath.t ->
tmp_name_pat ->
(Fpath.t -> output -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) resultval with_tmp_oc :
?mode:int ->
?dir:Fpath.t ->
tmp_name_pat ->
(Fpath.t -> out_channel -> 'a -> 'b) ->
'a ->
('b, [> Rresult.R.msg ]) result