gh

package
v0.0.0-...-74a274f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT 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 {
	*github.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) *Client

func (*Client) Wait

func (c *Client) Wait(ctx context.Context) error

type Repo

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

func NewRepo

func NewRepo(sshURL string, fullName string, rootDir string, size uint64) *Repo

func (*Repo) CloneFS

func (r *Repo) CloneFS(ctx context.Context, sshKey *ssh.PublicKeys, pattern string) error

func (*Repo) CloneMem

func (r *Repo) CloneMem(ctx context.Context, sshKey *ssh.PublicKeys, pattern string) error

func (*Repo) Exists

func (r *Repo) Exists() (bool, error)

func (*Repo) FullName

func (r *Repo) FullName() string

func (*Repo) Size

func (r *Repo) Size() uint64

func (*Repo) SshURL

func (r *Repo) SshURL() string

Jump to

Keyboard shortcuts

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