git

package
v0.0.0-...-0a2ff85 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlogPush

type BlogPush struct {
	// contains filtered or unexported fields
}

func NewBlogPush

func NewBlogPush(repoPath string) *BlogPush

func (*BlogPush) Push

func (p *BlogPush) Push(post blog.Post) error

func (*BlogPush) PushChanges

func (p *BlogPush) PushChanges() error

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func (*Repo) Commit

func (r *Repo) Commit(title string) error

func (*Repo) Pull

func (r *Repo) Pull() error

func (*Repo) Push

func (r *Repo) Push() error

func (*Repo) RepoPath

func (r *Repo) RepoPath() string

func (*Repo) StageAll

func (r *Repo) StageAll() error

type Repoer

type Repoer interface {
	StageAll() error
	Commit(title string) error
	Pull() error
	Push() error
	RepoPath() string
}

Jump to

Keyboard shortcuts

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