forkcommit

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ForkCommit

type ForkCommit struct {
	Commit commit.Interface
	Logger logger.Interface
	GitHub github.Interface
}

func (*ForkCommit) Do

func (u *ForkCommit) Do(ctx context.Context, in Input) error

type Input

type Input struct {
	ParentRepository git.RepositoryID
	TargetBranchName git.BranchName
	CommitStrategy   commitstrategy.CommitStrategy
	CommitMessage    git.CommitMessage
	Author           *git.CommitAuthor // optional
	Committer        *git.CommitAuthor // optional
	Paths            []string
	NoFileMode       bool
	DryRun           bool
}

type Interface

type Interface interface {
	Do(ctx context.Context, in Input) error
}

Directories

Path Synopsis
Package mock_forkcommit is a generated GoMock package.
Package mock_forkcommit is a generated GoMock package.

Jump to

Keyboard shortcuts

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