OpamFile.URLinclude IO_FILEval empty : tEmpty file
val write : OpamTypes.filename -> t -> unitWrite some contents to a file
val read : OpamTypes.filename -> tRead file contents. Raise an error if the file does not exist.
val safe_read : OpamTypes.filename -> tRead file contents. Return empty if the file does not exist.
val read_from_channel : ?filename:OpamTypes.filename -> in_channel -> tRead from channel.
val read_from_string : ?filename:OpamTypes.filename -> string -> tval write_to_channel : out_channel -> t -> unitWrite to channel.
val create :
OpamTypes.repository_kind ->
?mirrors:OpamTypes.address list ->
OpamTypes.address ->
tval url : t -> OpamTypes.addressURL address
val mirrors : t -> OpamTypes.address listval kind : t -> OpamTypes.repository_kindBackend kind (could be curl/rsync/git/darcs/hg at the moment)
val checksum : t -> string optionArchive checksum