git

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add added in v0.0.2

type Add struct {
	instructions.Meta

	Service AddService
}

Add 表示一条git命令

func NewAdd added in v0.0.2

func NewAdd(c context.Context) *Add

NewAdd ...

func (*Add) GetMeta added in v0.0.2

func (inst *Add) GetMeta() *instructions.Meta

GetMeta ...

func (*Add) Run added in v0.0.2

func (inst *Add) Run() error

Run ...

type AddService added in v0.0.2

type AddService interface {
	Run(task *Add) error
}

AddService 。。。

type Checkout added in v0.0.2

type Checkout struct {
	instructions.Meta

	Service CheckoutService
}

Checkout 表示一条git命令

func NewCheckout added in v0.0.2

func NewCheckout(c context.Context) *Checkout

NewCheckout ...

func (*Checkout) GetMeta added in v0.0.2

func (inst *Checkout) GetMeta() *instructions.Meta

GetMeta ...

func (*Checkout) Run added in v0.0.2

func (inst *Checkout) Run() error

Run ...

type CheckoutService added in v0.0.2

type CheckoutService interface {
	Run(task *Checkout) error
}

CheckoutService 。。。

type Clone added in v0.0.2

type Clone struct {
	instructions.Meta

	Service CloneService
}

Clone 表示一条git命令

func NewClone added in v0.0.2

func NewClone(c context.Context) *Clone

NewClone ...

func (*Clone) GetMeta added in v0.0.2

func (inst *Clone) GetMeta() *instructions.Meta

GetMeta ...

func (*Clone) Run added in v0.0.2

func (inst *Clone) Run() error

Run ...

type CloneService added in v0.0.2

type CloneService interface {
	Run(task *Clone) error
}

CloneService 。。。

type Commit added in v0.0.2

type Commit struct {
	instructions.Meta

	Service CommitService
}

Commit 表示一条git命令

func NewCommit added in v0.0.2

func NewCommit(c context.Context) *Commit

NewCommit ...

func (*Commit) GetMeta added in v0.0.2

func (inst *Commit) GetMeta() *instructions.Meta

GetMeta ...

func (*Commit) Run added in v0.0.2

func (inst *Commit) Run() error

Run ...

type CommitService added in v0.0.2

type CommitService interface {
	Run(task *Commit) error
}

CommitService 。。。

type Example added in v0.0.2

type Example struct {
	instructions.Meta

	Service ExampleService
}

Example 表示一条git命令

func NewExample added in v0.0.2

func NewExample(c context.Context) *Example

NewExample ...

func (*Example) GetMeta added in v0.0.2

func (inst *Example) GetMeta() *instructions.Meta

GetMeta ...

func (*Example) Run added in v0.0.2

func (inst *Example) Run() error

Run ...

type ExampleService added in v0.0.2

type ExampleService interface {
	Run(task *Example) error
}

ExampleService 。。。

type Fetch added in v0.0.2

type Fetch struct {
	instructions.Meta

	Service FetchService
}

Fetch 表示一条git命令

func NewFetch added in v0.0.2

func NewFetch(c context.Context) *Fetch

NewFetch ...

func (*Fetch) GetMeta added in v0.0.2

func (inst *Fetch) GetMeta() *instructions.Meta

GetMeta ...

func (*Fetch) Run added in v0.0.2

func (inst *Fetch) Run() error

Run ...

type FetchService added in v0.0.2

type FetchService interface {
	Run(task *Fetch) error
}

FetchService 。。。

type Init added in v0.0.2

type Init struct {
	instructions.Meta

	Service InitService

	Quiet             bool
	Bare              bool
	TemplateDirectory string
	SeparateGitDir    string
	ObjectFormat      string
	BranchName        string
	Shared            bool
	Permissions       string
	Directory         string
}

Init 表示一条git命令

func NewInit added in v0.0.2

func NewInit(c context.Context) *Init

NewInit ...

func (*Init) GetMeta added in v0.0.2

func (inst *Init) GetMeta() *instructions.Meta

GetMeta ...

func (*Init) Run added in v0.0.2

func (inst *Init) Run() error

Run ...

type InitService added in v0.0.2

type InitService interface {
	Run(task *Init) error
}

InitService 。。。

type Pull added in v0.0.2

type Pull struct {
	instructions.Meta

	Service PullService
}

Pull 表示一条git命令

func NewPull added in v0.0.2

func NewPull(c context.Context) *Pull

NewPull ...

func (*Pull) GetMeta added in v0.0.2

func (inst *Pull) GetMeta() *instructions.Meta

GetMeta ...

func (*Pull) Run added in v0.0.2

func (inst *Pull) Run() error

Run ...

type PullService added in v0.0.2

type PullService interface {
	Run(task *Pull) error
}

PullService 。。。

type Push added in v0.0.2

type Push struct {
	instructions.Meta

	Service PushService
}

Push 表示一条git命令

func NewPush added in v0.0.2

func NewPush(c context.Context) *Push

NewPush ...

func (*Push) GetMeta added in v0.0.2

func (inst *Push) GetMeta() *instructions.Meta

GetMeta ...

func (*Push) Run added in v0.0.2

func (inst *Push) Run() error

Run ...

type PushService added in v0.0.2

type PushService interface {
	Run(task *Push) error
}

PushService 。。。

type Status added in v0.0.2

type Status struct {
	instructions.Meta

	Service StatusService
}

Status 表示一条git命令

func NewStatus added in v0.0.2

func NewStatus(c context.Context) *Status

NewStatus ...

func (*Status) GetMeta added in v0.0.2

func (inst *Status) GetMeta() *instructions.Meta

GetMeta ...

func (*Status) Run added in v0.0.2

func (inst *Status) Run() error

Run ...

type StatusService added in v0.0.2

type StatusService interface {
	Run(task *Status) error
}

StatusService 。。。

Directories

Path Synopsis
data
dxo
network

Jump to

Keyboard shortcuts

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