Documentation
¶
Index ¶
- func AttachGemfileLockPositions(g *sdk.Graph, lockPath, projectDir string)
- type Detector
- func (d Detector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d Detector) Descriptor() sdk.DetectorDescriptor
- func (d Detector) FallbackDetector() sdk.Detector
- func (d Detector) Install(_ context.Context, req sdk.DetectionRequest) error
- func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d Detector) Ready() bool
- func (d Detector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachGemfileLockPositions ¶
AttachGemfileLockPositions wires Gemfile.lock line numbers into the resolved graph.
Types ¶
type Detector ¶
Detector resolves Bundler dependency graphs from Gemfile.lock.
func (Detector) Applicable ¶
Applicable reports whether a Bundler lockfile is present.
func (Detector) Descriptor ¶
func (d Detector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the Bundler detector.
func (Detector) FallbackDetector ¶
FallbackDetector returns the configured fallback detector.
func (Detector) PackageManagerSupport ¶
func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns Bundler package-manager discovery metadata.
func (Detector) ResolveGraph ¶
func (d Detector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a Bundler dependency graph from Gemfile.lock.
Click to show internal directories.
Click to hide internal directories.