Documentation
¶
Index ¶
- Variables
- func ParseGemfileLock(pathToLockfile string) ([]lockfile.PackageDetails, error)
- type GemfileLockExtractor
- func (e GemfileLockExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
- func (e GemfileLockExtractor) IsOfficiallySupported() bool
- func (e GemfileLockExtractor) PackageManager() models.PackageManager
- func (e GemfileLockExtractor) ShouldExtract(path string) bool
- type GemfileMatcher
- type GemspecFileMatcher
Constants ¶
This section is empty.
Variables ¶
View Source
var GemfileExtractor = GemfileLockExtractor{ lockfile.WithMatcher{Matchers: []lockfile.Matcher{ &GemfileMatcher{}, &GemspecFileMatcher{}, }}, }
Functions ¶
func ParseGemfileLock ¶
func ParseGemfileLock(pathToLockfile string) ([]lockfile.PackageDetails, error)
Types ¶
type GemfileLockExtractor ¶
type GemfileLockExtractor struct {
lockfile.WithMatcher
}
func (GemfileLockExtractor) Extract ¶
func (e GemfileLockExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
func (GemfileLockExtractor) IsOfficiallySupported ¶
func (e GemfileLockExtractor) IsOfficiallySupported() bool
func (GemfileLockExtractor) PackageManager ¶
func (e GemfileLockExtractor) PackageManager() models.PackageManager
func (GemfileLockExtractor) ShouldExtract ¶
func (e GemfileLockExtractor) ShouldExtract(path string) bool
type GemfileMatcher ¶
type GemfileMatcher struct{}
func (GemfileMatcher) GetSourceFile ¶
func (GemfileMatcher) Match ¶
func (matcher GemfileMatcher) Match(sourceFile lockfile.DepFile, packages []lockfile.PackageDetails, context lockfile.ScanContext) error
type GemspecFileMatcher ¶
type GemspecFileMatcher struct{}
func (GemspecFileMatcher) GetSourceFile ¶
func (GemspecFileMatcher) Match ¶
func (matcher GemspecFileMatcher) Match(sourceFile lockfile.DepFile, packages []lockfile.PackageDetails, context lockfile.ScanContext) error
Click to show internal directories.
Click to hide internal directories.