Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + const CommentMarker + const LockSectionEnd + const LockSectionStart + const SectionEnd + const SectionStart + const TrailerPRs + const TrailerScope + const TrailerStackSize + func CreateLockSection(branch string, eng engine.BranchReader) string + func CreateNavigationComment(branch string, eng engine.BranchReader, opts NavigationOptions) string + func CreatePRBodyFooter(branch string, eng engine.BranchReader) string + func CreatePRBodyFooterWithOptions(branch string, eng engine.BranchReader, opts NavigationOptions) string + func FormatMergeBody(params MergeBodyParams) string + func FormatMergeTitle(scopes []string, totalCount int) string + func FormatMergeTitleWithDescription(desc *git.StackDescription, scopes []string, totalCount int) string + func FormatStackTrailers(stackSize int, prNumbers []int, scope string) string + func FormatStackTree(params StackTreeParams) string + func GenerateBody(branch engine.Branch, existingBody string) string + func GenerateTitle(branch engine.Branch, existingTitle string, scope engine.Scope) string + func IsStackitComment(body string) bool + func ResolveUnifiedScope(scopes []string) string + func ShouldShowNavigation(opts NavigationOptions, branch string, eng engine.BranchReader) bool + func StripFooter(body string) string + func StripLockSection(body string) string + func UpdatePRBodyFooter(existingBody, footer string) string + func UpdatePRBodyLockSection(existingBody, lockSection string) string + type Content struct + Body string + Title string + type ExcludedBranch struct + Name string + Reason string + type MergeBodyParams struct + Branches []MergeBranch + Excluded []ExcludedBranch + Metadata StackMetadata + StackDescription *git.StackDescription + StackTree string + type MergeBranch struct + Name string + PRNumber int + PRTitle string + type NavigationOptions struct + Location string + Marker string + ShowMerged bool + When string + func DefaultNavigationOptions() NavigationOptions + type StackMetadata struct + PRNumbers []int + Scope string + StackSize int + func BuildStackMetadata(branches []MergeBranch, scope string) StackMetadata + func NewStackMetadata(stackSize int, prNumbers []int, scope string) StackMetadata + func ParseStackMetadataTrailers(body string) *StackMetadata + func (m StackMetadata) ToTrailers() string + type StackTrailerInfo = StackMetadata + func ParseStackTrailers(body string) *StackTrailerInfo + type StackTreeBranch struct + Depth int + Name string + PRNumber int + type StackTreeParams struct + Branches []StackTreeBranch + TrunkName string