cmdbranches

package
v0.0.0-...-ca61a64 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, out io.Writer, opts Opts)

Types

type Opts

type Opts struct {
	// Dir is directory to run ripsrc on.
	// If it contains .git directory inside, this dir will be processed.
	// If the dir name ends with .git and has objects dir inside it will be assumed to be bare repo and processed.
	// If neither of this is true if will process containing dirs following the same algo.
	Dir string

	// Profile set to one of mem, mutex, cpu, block, trace to enable profiling.
	Profile string
}

type RepoError

type RepoError struct {
	Repo string
	Err  error
}

func (RepoError) Error

func (s RepoError) Error() string

type Stats

type Stats struct {
	Repos             int
	SkippedEmptyRepos int
}

Jump to

Keyboard shortcuts

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