Up – Index » docs » findlib-1 » bos » Bos_os_fileval err_empty_buf : stringval err_invalid_output : stringval delete : ?must_exist :??? -> Fpath.t -> (unit, [> `Msg of string ] ) result val truncate : Fpath.t -> int -> (unit, [> `Msg of string ] ) result val _is_executable : string -> boolval is_executable : Fpath.t -> boolval bytes_buf : bytes option -> bytesval fold_lines :
('a -> string -> 'a ) ->
'a ->
Fpath.t ->
('a , [> `Msg of string ] ) result val read_lines : Fpath.t -> (string list , [> `Msg of string ] ) result val unlink_tmps : unit -> unitval default_tmp_mode : intval with_tmp_output :
?mode :??? ->
?dir :??? ->
(string -> string, Format.formatter , unit, string) format4 ->
(Fpath.path -> ((bytes * int * int) option -> unit) -> 'a -> 'b ) ->
'a ->
('b , [> `Msg of string ] ) result type output = (Bytes.t * int * int) option -> unit val stdout_with_output :
(((bytes * int * int) option -> unit) -> 'a -> 'b ) ->
'a ->
('b , [> `Msg of string ] ) result val with_output :
?mode :??? ->
Fpath.t ->
(((bytes * int * int) option -> unit) -> 'a -> ('b , 'c ) result ) ->
'a ->
(('b , 'c ) result , [> `Msg of string ] ) result val write :
?mode :??? ->
Fpath.t ->
string ->
(unit, [> `Msg of string ] ) result val write_lines :
?mode :??? ->
Fpath.t ->
string list ->
(unit, [> `Msg of string ] ) result