Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCreateTmpFile = errors.New("unable to create tmp file") ErrWriteTmpFile = errors.New("unable write to tmp file") )
Functions ¶
func MakeDefaultRepoName ¶
Types ¶
type RepoList ¶
type RepoList struct {
// contains filtered or unexported fields
}
func (*RepoList) AddRepository ¶
func (l *RepoList) AddRepository(repo *Repository)
func (*RepoList) GetAll ¶
func (l *RepoList) GetAll() []*Repository
func (*RepoList) LoadFromFile ¶
type ReportWriter ¶
type ReportWriter struct {
Repolist *RepoList
}
func (*ReportWriter) BuildGraphviz ¶
func (r *ReportWriter) BuildGraphviz(in map[string][]*Repository, filename, format string) error
func (*ReportWriter) BuildText ¶
func (r *ReportWriter) BuildText(in map[string][]*Repository) string
type Repository ¶
type Repository struct { URL string Branch string Deps []string Key string Name string // contains filtered or unexported fields }
func NewRepository ¶
func NewRepository(url, branch, name string) *Repository
func (*Repository) GetModuleURL ¶
func (r *Repository) GetModuleURL() (string, error)
func (*Repository) Intersect ¶
func (r *Repository) Intersect(l []*Repository) ([]*Repository, error)
func (*Repository) Load ¶
func (r *Repository) Load() error
Click to show internal directories.
Click to hide internal directories.