SelectionsFile.content

The content of this selections file

The underlying content can be accessed using dub.internal.yaml.stdsumtype : match, for example:

SelectionsFile file = readSelectionsFile();
file.content.match!(
    (Selections!0 s) => logWarn("Unsupported version: %s", s.fileVersion),
    (Selections!1 s) => logWarn("Old version (1), please upgrade!"),
    (Selections!2 s) => logInfo("You are up to date"),
);
struct SelectionsFile
DataType content;

Meta