Help us shape the future of Go! Take the 2026 Go Developer Survey

composer

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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 ErrNoComposerFound = errors.New("no composer found")
View Source
var ErrParseComposerManifest = errors.New("Parsing composer.json failed")
View Source
var ErrReadComposerManifest = errors.New("Read composer.json failed")
View Source
var Instance = &Inspector{}

Functions

This section is empty.

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

func (*Inspector) SupportFeature added in v1.9.2

func (i *Inspector) SupportFeature(feature base.Feature) bool

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