importer

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

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

func Import(cfg *viper.Viper) error

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

func Update(cfg *viper.Viper) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL