progress

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateProgressID

func GenerateProgressID(org, branchName string) string

Types

type Progress

type Progress struct {
	ID     string
	Dir    string
	Config *configs.ProgressConfig
	// contains filtered or unexported fields
}

func NewProgress

func NewProgress(log *logrus.Entry, progressDir, progressID string) (*Progress, error)

func (*Progress) AddRepos

func (p *Progress) AddRepos(repos []string)

func (*Progress) GetRepos

func (p *Progress) GetRepos() []string

func (*Progress) GetReposNotCloned

func (p *Progress) GetReposNotCloned() []string

GetReposNotCloned returns a list of repos that haven't been cloned yet.

func (*Progress) GetReposNotMigrated

func (p *Progress) GetReposNotMigrated() []string

GetReposNotMigrated returns a list of repos that haven't been migrated yet.

func (*Progress) MarkCloned

func (p *Progress) MarkCloned(repo string) error

func (*Progress) MarkMigrated

func (p *Progress) MarkMigrated(repo string) error

func (*Progress) ProgressFile

func (p *Progress) ProgressFile() string

Jump to

Keyboard shortcuts

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