jon.recoil.org

Module OpamFile.ChangesSource

.changes files, bound to the OpamDirTrack module

include OpamFile.IO_FILE with type t := OpamFile.Changes.t
Sourceval format_version : OpamVersion.t

Empty file

Write some contents to a file

Read file contents.

Returns None on non-existing file

Read file contents. Return empty if the file does not exist.

Sourceval read_from_string : ?filename:OpamFile.Changes.t OpamFile.typed_file -> string -> OpamFile.Changes.t
Sourceval write_to_string : ?filename:OpamFile.Changes.t OpamFile.typed_file -> OpamFile.Changes.t -> string