composer

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 13 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")

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 model.InspectorFeature) 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