Documentation
¶
Index ¶
- func FilteredLockfile(gems []Gem, lockfile Lockfile) ([]pkg.Import, map[pkg.ID]pkg.Package)
- func GraphFromLockfile(lockfile Lockfile) ([]pkg.Import, map[pkg.ID]pkg.Package)
- func LockfileGraph(filename string) (graph.Deps, *errors.Error)
- type Bundler
- type Gem
- type Lockfile
- type Requirement
- type Section
- type Spec
- type VersionSpecifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilteredLockfile ¶ added in v1.0.6
func GraphFromLockfile ¶ added in v1.0.6
Types ¶
type Lockfile ¶
type Lockfile struct {
Git []Section
Path []Section
Gem []Section
Dependencies []Requirement
}
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.