// actionIdFromTag converts an ActionTag to an actionId func actionIdFromTag(tag names.ActionTag) string { ptag := tag.PrefixTag() if ptag == nil { return "" } return fmt.Sprintf("%s%d", ensureActionMarker(ptag.Id()), tag.Sequence()) }
// actionIdFromTag converts an ActionTag to an actionId func actionIdFromTag(tag names.ActionTag) string { prefix := actionPrefixFromUnitId(tag.UnitTag().Id()) return actionId(prefix, tag.Sequence()) }