Make.FileSourceexists t file is true if file is a regular file in the file system and false otherwise.
must_exist t file is Ok file if file is a regular file in the file system and an error otherwise.
delete t ~must_exist file deletes file file. If must_exist is true (defaults to false) an error is returned if file doesn't exist.
read t file is file's content as a string.
read_lines t file is file's content, split at each '\n' character.
val fold_lines :
(string -> 'a -> 'a) ->
'a ->
blk Mfat.t ->
Fpath.t ->
('a, [> `Msg of string ]) resultfold_lines f acc t file is like List.fold_left f acc (read_lines t file).
write t file content outputs content to file.