B0_opamSourceB0 opam support.
See the B0 opam manual for more details.
opam toolval get_cmd :
?search:B0_std.Fpath.t list ->
?cmd:B0_std.Cmd.t ->
unit ->
(B0_std.Cmd.t, string) resultget_cmd () looks for opam wih B0_std.Os.Cmd.get.
opam filesopam Metadatatag indicates the entity is related to opam. Adding this tag to a pack makes it represent an opam package for B0's opam tooling.
pkg_name_of_pack p derives an opam package name for p. This is either in order:
Meta.name field of p's meta, if defined.B0_pack.basename of p if not equal to "default".p's scope directory.