Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lockfile ¶
type Lockfile struct {
Git []Section
Path []Section
Gem []Section
Dependencies []Requirement
}
func FromLockfile ¶
type Requirement ¶
type Requirement struct {
Name string
Pinned bool
Version VersionSpecifier
}
func ParseDependenciesSection ¶
func ParseDependenciesSection(section string) []Requirement
func (*Requirement) String ¶
func (r *Requirement) String() string
type Section ¶
type Section struct {
Type string
Remote string
Revision string
Ref string
Tag string
Branch string
Specs []Spec
}
func ParseSpecSection ¶
type Spec ¶
type Spec struct {
Name string
Version string
Dependencies []Requirement
}
func ParseSpecs ¶
type VersionSpecifier ¶
type VersionSpecifier string
TODO: actually parse these. We ignore them right now, so I haven't bothered implementing parsing logic.
Click to show internal directories.
Click to hide internal directories.