OpamFile.EnvironmentSourceCached environment updates (<switch>/environment)
include IO_FILE
with type t =
(OpamTypes.spf_resolved, OpamTypes.euok_writeable)
OpamTypes.env_update
listFile contents
Write some contents to a file
val read :
t typed_file ->
(OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update
listval read_opt :
t typed_file ->
(OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update
list
optionval safe_read :
t typed_file ->
(OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update
listval read_from_channel :
?filename:t typed_file ->
in_channel ->
(OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update
listval read_from_string :
?filename:t typed_file ->
string ->
(OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update
list