composer

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MPL-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromLockfile

func FromLockfile()

func FromManifest

func FromManifest()

Types

type Composer

type Composer struct {
	Cmd string
}

func (*Composer) Clean

func (c *Composer) Clean(dir string) error

func (*Composer) Dependencies

func (c *Composer) Dependencies(dir string) ([]Package, map[Package][]Package, error)

func (*Composer) Install

func (c *Composer) Install(dir string) error

func (*Composer) Show

func (c *Composer) Show(dir string) (Show, error)

type LineParser

type LineParser func(line string) (level int, node Package, err error)

level is 1-indexed

type Manifest

type Manifest struct {
	Name string
}

type Package

type Package struct {
	Name        string
	Version     string
	Description string
}

func ReadPackageTree

func ReadPackageTree(lines []string, parser LineParser) ([]Package, map[Package][]Package, error)

type Show

type Show struct {
	Installed []Package
}

Jump to

Keyboard shortcuts

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