PrintableName returns a one line name which includes the features specified by 'wantFeatures' which is a bitmask of wanted features, indexed by FeaturesIndex.
(wantFeatures []bool)
| 182 | // by 'wantFeatures' which is a bitmask of wanted features, indexed by |
| 183 | // FeaturesIndex. |
| 184 | func (f Features) PrintableName(wantFeatures []bool) string { |
| 185 | var b bytes.Buffer |
| 186 | f.partialString(&b, wantFeatures, "_", "-") |
| 187 | return b.String() |
| 188 | } |
| 189 | |
| 190 | // partialString writes features specified by 'wantFeatures' to the provided |
| 191 | // bytes.Buffer. |
no test coverage detected