models

package
v0.0.0-...-cfbe2bf Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 1 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 {
	// contains filtered or unexported fields
}

func NewRepo

func NewRepo(repo string, state RepoState) *Repo

func (*Repo) Update

func (r *Repo) Update(f func(RepoState) RepoState)

type RepoProperty

type RepoProperty struct {
	Private bool
}

type RepoState

type RepoState struct {
	Available bool
	Branches  []community.RepoBranch
	//Members   []string
	Members  map[string]int
	Owner    string
	Property RepoProperty
}

Jump to

Keyboard shortcuts

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