Documentation ¶
Index ¶
- type Git
- func (g *Git) Add(ctx context.Context, args ...string) error
- func (g *Git) AddRemote(ctx context.Context, remote, url string) error
- func (g *Git) Cmd(ctx context.Context, name string, args ...string) error
- func (g *Git) Commit(ctx context.Context, msg string) error
- func (g *Git) Init(context.Context, string, string, string) error
- func (g *Git) InitConfig(context.Context, string, string, string) error
- func (g *Git) Pull(ctx context.Context, origin, branch string) error
- func (g *Git) Push(ctx context.Context, origin, branch string) error
- func (g *Git) Version(context.Context) semver.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct{}
Git is a no-op git backend
func (*Git) InitConfig ¶
InitConfig does nothing
Click to show internal directories.
Click to hide internal directories.