Module OpamFile.Repo_config_legacy
Repository config: $opam/repo/$repo/config. Deprecated, for migration only
type t={repo_name : OpamTypes.repository_name;repo_root : OpamTypes.dirname;repo_url : OpamTypes.url;repo_priority : int;}
include IO_FILE with type t := t
val empty : tEmpty file
val write : t typed_file -> t -> unitWrite some contents to a file
val read : t typed_file -> tRead file contents. Raise an error if the file does not exist.
val read_opt : t typed_file -> t optionReturns
Noneon non-existing file
val safe_read : t typed_file -> tRead file contents. Return
emptyif the file does not exist.
val read_from_channel : ?filename:t typed_file -> Stdlib.in_channel -> tval read_from_string : ?filename:t typed_file -> string -> tval write_to_channel : ?filename:t typed_file -> Stdlib.out_channel -> t -> unitval write_to_string : ?filename:t typed_file -> t -> string