pkglst

package
v19.10.22+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func (*Cache) Add

func (cc *Cache) Add(l ...gopkg.Pkg)

func (*Cache) PruneDir

func (cc *Cache) PruneDir(dir string)

func (*Cache) Scan

func (cc *Cache) Scan(mx *mg.Ctx, dir string) (output []byte, _ error)

func (*Cache) View

func (cc *Cache) View() View

type View

type View struct {
	List         []*gopkg.Pkg
	ByDir        map[string]*gopkg.Pkg
	ByImportPath map[string][]*gopkg.Pkg
	ByName       map[string][]*gopkg.Pkg
}

func (View) Add

func (vu View) Add(lst ...*gopkg.Pkg) View

func (View) PruneDir

func (vu View) PruneDir(dir string) View

Jump to

Keyboard shortcuts

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