repo

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	Base       string
	Branch     string
	LastCommit git.Commit
	Name       string
	Org        string
	Path       string
	State      git.State
}

func Find

func Find(home, slug string) (Repo, bool)

func FindIncluding added in v0.6.0

func FindIncluding(home, slug string, include ...string) (Repo, bool)

func Inspect

func Inspect(path string) (Repo, bool)

func Scan

func Scan(home string) ([]Repo, error)

func ScanIncluding added in v0.6.0

func ScanIncluding(home string, include ...string) ([]Repo, error)

func (Repo) Slug

func (r Repo) Slug() string

Jump to

Keyboard shortcuts

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