Documentation
¶
Index ¶
- type Indexer
- func (i *Indexer) Create() error
- func (i *Indexer) InstalledPackage(name string) *ospkgs.Package
- func (i *Indexer) LicensesForPackage(name string) ([]licenses.License, error)
- func (i *Indexer) PackageForFile(filename string) (*ospkgs.Package, bool)
- func (i *Indexer) PackageNameForFile(filename string) (string, bool)
- func (i *Indexer) PackageThatProvides(name string) (*ospkgs.Package, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewIndexer ¶
func NewIndexer() *Indexer
func (*Indexer) LicensesForPackage ¶
func (*Indexer) PackageForFile ¶
func (*Indexer) PackageNameForFile ¶
Click to show internal directories.
Click to hide internal directories.