docs(metadata): rationale for using feature strings

This commit is contained in:
Marcus Holland-Moritz 2023-12-02 09:06:57 +01:00
parent eff100c202
commit 88425dd38f

View File

@ -370,7 +370,9 @@ struct metadata {
// The set of features used in this file system image. As long
// as an older binary supports all features, it will be able
// to use images created with newer versions.
// to use images created with newer versions. We use strings
// here instead of an enum so older versions can still output
// names of features used by a newer version.
27: optional set<string> features
//=========================================================//