Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Autoload ¶
type Autoload struct {
Classmap []string `json:"classmap,omitempty"`
ExcludeFromClassmap []string `json:"exclude-from-classmap,omitempty"`
Files []string `json:"files,omitempty"`
PSR0 FlexPSR `json:"psr-0,omitempty"`
PSR4 FlexPSR `json:"psr-4,omitempty"`
}
@doc https://engineering.bitnami.com/articles/dealing-with-json-with-non-homogeneous-types-in-go.html
func (*Autoload) MarshalJSON ¶
type DependencyFile ¶
type DependencyFile interface {
Filename() string
Fullpath() string
Dirpath() string
Dependencies(withDev bool) []Package
}
DependencyFile represents all of the behavior required to manage project dependency files.
func LoadFile ¶
func LoadFile(path string) (DependencyFile, error)
LoadFile will generate a DependencyFile from a given path.
type Distribution ¶
type FlexPSR ¶
type FlexPSR struct {
Single *map[string]string `json:",omitempty"`
Multiple *map[string][]string `json:",omitempty"`
}
func (*FlexPSR) UnmarshalJSON ¶
type Lockfile ¶
type Lockfile struct {
Location string `json:"location"`
Contents *LockfileContents `json:"contents"`
}
func LoadLockfile ¶
LoadLockfile will find and parse a .lock file from the given path.
type LockfileContents ¶
Click to show internal directories.
Click to hide internal directories.