git

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(ctx context.Context, logger logging.Logger, committer string, repoURL string) *Client

func (*Client) Clone

func (g *Client) Clone() error

func (*Client) Init

func (g *Client) Init(deploykey []byte) error

func (*Client) Read

func (g *Client) Read(path string) ([]byte, error)

func (*Client) UpdateRemoteUntilItWorks

func (g *Client) UpdateRemoteUntilItWorks(file *File) ([]byte, error)

type File

type File struct {
	Path      string
	Overwrite func([]byte) ([]byte, error)
	Force     bool
}

Jump to

Keyboard shortcuts

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