repos

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffConfig

type DiffConfig struct {
	IgnoreEmpty      bool
	IgnoreFilePrefix []string
	MatchExtension   []string
	Args             []string
}

type Repos

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

func New

func New(scrb scribe.Scriber, ghClient *github.Client, rate *rate.Limiter) *Repos

func (*Repos) Branches

func (r *Repos) Branches(ctx context.Context, dirs []string, args ...string) error

func (*Repos) CheckoutRepos

func (r *Repos) CheckoutRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) CloneRepos

func (r *Repos) CloneRepos(ctx context.Context, baseDir string) ([]*ctxhelper.Repository, error)

func (*Repos) CommitRepos

func (r *Repos) CommitRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) DiffRepos

func (r *Repos) DiffRepos(ctx context.Context, dirs []string, cfg *DiffConfig) error

func (*Repos) FetchRepos

func (r *Repos) FetchRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) GetBranchAndTagNames

func (r *Repos) GetBranchAndTagNames(ctx context.Context, dirs []string) ([]string, error)

func (*Repos) GetBranchNames

func (r *Repos) GetBranchNames(ctx context.Context, dirs []string) ([]string, error)

func (*Repos) GetRemoteNames

func (r *Repos) GetRemoteNames(ctx context.Context, dirs []string) ([]string, error)

func (*Repos) GetRepos

func (r *Repos) GetRepos(ctx context.Context, name string) ([]*github.Repository, error)

func (*Repos) GetTagNames

func (r *Repos) GetTagNames(ctx context.Context, dirs []string) ([]string, error)

func (*Repos) ListBranches

func (r *Repos) ListBranches(ctx context.Context, dirs []string, args ...string) error

func (*Repos) ListTags

func (r *Repos) ListTags(ctx context.Context, dirs []string, args ...string) error

func (*Repos) LogRepos

func (r *Repos) LogRepos(ctx context.Context, dirs []string, ignoreEmpty bool, args ...string) error

func (*Repos) MergeRepos

func (r *Repos) MergeRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) PullRepos

func (r *Repos) PullRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) PushRepos

func (r *Repos) PushRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) ResetRepos

func (r *Repos) ResetRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) StageFiles

func (r *Repos) StageFiles(ctx context.Context, dirs []string, args ...string) error

func (*Repos) StashRepos

func (r *Repos) StashRepos(ctx context.Context, dirs []string, args ...string) error

func (*Repos) StatusRepos

func (r *Repos) StatusRepos(ctx context.Context, dirs []string, ignoreEmpty bool, args ...string) error

func (*Repos) TagRepos

func (r *Repos) TagRepos(ctx context.Context, dirs []string, args ...string) error

Jump to

Keyboard shortcuts

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