askgit

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAuthenticationCallback

func CreateAuthenticationCallback(remote *vcsurl.VCS) *git.CloneOptions

func DisplayDB

func DisplayDB(rows *sql.Rows, w io.Writer, format string, interactive bool) error

Types

type AskGit

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

func New

func New(options *Options) (*AskGit, error)

New creates an instance of AskGit

func (*AskGit) DB

func (a *AskGit) DB() *sql.DB

func (*AskGit) RepoPath

func (a *AskGit) RepoPath() string

type Options

type Options struct {
	RepoPath    string
	UseGitCLI   bool
	GitHubToken string
	DBFilePath  string
}

Jump to

Keyboard shortcuts

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