common

package
v0.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 20

Documentation

Overview

Package common is used to share common code between all VCS clients without running into circular dependency issues.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutomergeCommitMsg added in v0.4.14

func AutomergeCommitMsg(pullNum int) string

AutomergeCommitMsg returns the commit message to use when automerging.

func SplitComment

func SplitComment(comment string, maxSize int, sepEnd string, sepStart string) []string

SplitComment splits comment into a slice of comments that are under maxSize. It appends sepEnd to all comments that have a following comment. It prepends sepStart to all comments that have a preceding comment.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL