Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Logger = log.NewLogger(log.INFO)
Functions ¶
func GetStaticBlocks ¶
func GetStaticBlocks(normalizedPatternData *normalizer.NormalizationData) []string
GetStaticBlocks filters out the regex sections and returns the static text blocks
func Import ¶ added in v0.10.0
Import validates, preprocesses, and copies templates into resources (or into external paths) This implements --addAll (which probably be changed to license-scanner import ...) The --addAll <string> value is the input dir. Output is determined by spdxPath/spdx/customPath/custom flags.
func Update ¶ added in v0.10.0
Update validates, preprocesses, and updates preprocessed prechecks in resources (or into external paths) This implements --updateAll (which probably be changed to license-scanner update ...) The args spdxPath/spdx/customPath/custom are used to determine which resources (or external dir) are updated in-place.
Types ¶
This section is empty.