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 interface { // Show returns the output of running the `show` command in dir with optional additional arguments. Show(dir string, args ...string) (stdout string, stderr string, err error) // Install returns the output of running the `install` command in dir with optional additional arguments. Install(dir string, args ...string) (stdout string, stderr string, err error) }
A Composer can return the output of the `show` and `install` commands.
func NewComposer ¶ added in v0.7.27
NewComposer returns a Runner that invokes the real composer binary.
type LineParser ¶
level is 1-indexed
type ShowOutput ¶ added in v0.7.27
type ShowOutput struct {
Installed []Package `json:"installed"`
}
A ShowOutput structure has a list of dependencies reported by Composer.
Click to show internal directories.
Click to hide internal directories.