composer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(fs afero.Fs, wd string) repository.Repository

Types

type InstalledJSONData added in v0.0.3

type InstalledJSONData struct {
	Packages []struct {
		Name     string   `json:"name"`
		Version  string   `json:"version_normalized"`
		Licenses []string `json:"license"`
	} `json:"packages"`
	DevPackageNames []string `json:"dev-package-names"`
}

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func (Repository) GetPackages

func (r Repository) GetPackages(noDev bool, patterns []string) (repository.Packages, error)

Jump to

Keyboard shortcuts

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