forgepb

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

README

protobuf definition files for forge

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepoHeader added in v0.0.2

func RepoHeader() string

Types

type ByRepoPath added in v0.0.2

type ByRepoPath []*Repo

func (ByRepoPath) Len added in v0.0.2

func (a ByRepoPath) Len() int

func (ByRepoPath) Less added in v0.0.2

func (a ByRepoPath) Less(i, j int) bool

func (ByRepoPath) Swap added in v0.0.2

func (a ByRepoPath) Swap(i, j int)

type RepoIterator

type RepoIterator struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewRepoIterator

func NewRepoIterator(packs []*Repo) *RepoIterator

NewRepoIterator initializes a new iterator.

func (*RepoIterator) Repo

func (it *RepoIterator) Repo() *Repo

Repo returns the current repo.

func (*RepoIterator) Scan

func (it *RepoIterator) Scan() bool

Scan moves to the next element and returns false if there are no more packs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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