composer

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrComposerInstallFail = errors.New("PHP composer install command execute failed")
View Source
var ErrParseComposerManifest = errors.New("Parsing composer.json failed")
View Source
var ErrReadComposerManifest = errors.New("Read composer.json failed")

Functions

func New

func New() base.Inspector

Types

type Element

type Element struct {
	Name    string
	Version string
}

type Inspector

type Inspector struct{}

func (*Inspector) CheckDir

func (i *Inspector) CheckDir(dir string) bool

func (*Inspector) InspectProject

func (i *Inspector) InspectProject(ctx context.Context) error

func (*Inspector) String

func (i *Inspector) String() string

type Manifest

type Manifest struct {
	Element
	Require []Element
}

type Package

type Package struct {
	Element
	Require []string
}

Jump to

Keyboard shortcuts

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