repo.go
 1package backend
 2
 3import "github.com/charmbracelet/soft-serve/git"
 4
 5// Repository is a Git repository interface.
 6type Repository interface {
 7	// Name returns the repository's name.
 8	Name() string
 9	// Description returns the repository's description.
10	Description() string
11	// IsPrivate returns whether the repository is private.
12	IsPrivate() bool
13	// Repository returns the underlying git.Repository.
14	Repository() (*git.Repository, error)
15}