Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindUnique ¶
FindUnique attempts to find a unique repository matching the query Returns the repo if unique match found, nil if no match, error if ambiguous
Types ¶
type Filter ¶
type Filter struct {
SearchTerms []string // Fuzzy search terms
Languages []string // Exact language matches
Tags []string // All tags must match
Branch string // Exact branch match
Root string // Exact root match
Dirty *bool // nil = no filter, true = dirty only, false = clean only
Ahead *bool // nil = no filter, true = ahead only
Behind *bool // nil = no filter, true = behind only
SortBy SortField
Limit int
}
Filter represents query filters
Click to show internal directories.
Click to hide internal directories.