composer

package
v0.7.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

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