Module OpamFile.AliasesSource
Compiler aliases: $opam/aliases. Deprecated, used only for migration
File contents
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.
Source
val read_from_channel :
?filename:OpamFile.Aliases.t OpamFile.typed_file ->
Stdlib.in_channel ->
OpamFile.Aliases.tSource
val read_from_string :
?filename:OpamFile.Aliases.t OpamFile.typed_file ->
string ->
OpamFile.Aliases.tSource
val write_to_channel :
?filename:OpamFile.Aliases.t OpamFile.typed_file ->
Stdlib.out_channel ->
OpamFile.Aliases.t ->
unitSource
val write_to_string :
?filename:OpamFile.Aliases.t OpamFile.typed_file ->
OpamFile.Aliases.t ->
string