project

package
v1.0.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentGitEmail

func GetCurrentGitEmail(cwd string) (string, error)

Types

type Branch

type Branch struct {
	Name        string
	Description string
}

func GetBranchNames

func GetBranchNames(cwd string) ([]Branch, error)

func GetRepoBranches

func GetRepoBranches() ([]Branch, error)

func GetUsersBranchNames

func GetUsersBranchNames(cwd string, email string) ([]Branch, error)

func GetUsersBranches

func GetUsersBranches(repoUser string) ([]Branch, error)

type Project

type Project struct {
	BranchName string
	Commit     string
	URL        string
}

type Resolver

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

func NewResolver

func NewResolver(dir string) *Resolver

func (*Resolver) Get

func (r *Resolver) Get() (p Project, err error)

Jump to

Keyboard shortcuts

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