Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JavaScriptPackageLock = filterFunc(strings.HasSuffix, "package-lock.json") JavaScriptPackageJson = func(filename string) bool { return strings.HasSuffix(filename, "package.json") } JavaScriptYarnLock = filterFunc(strings.HasSuffix, "yarn.lock") )
View Source
var ( PhpComposer = filterFunc(strings.HasSuffix, "composer.json") PhpComposerLock = filterFunc(strings.HasSuffix, "composer.lock") )
View Source
var ( GoMod = filterFunc(strings.HasSuffix, "go.mod") GoSum = filterFunc(strings.HasSuffix, "go.sum", "go.work.sum") GoPkgToml = filterFunc(strings.HasSuffix, "Gopkg.toml") GoPkgLock = filterFunc(strings.HasSuffix, "Gopkg.lock") )
View Source
var ( GroovyFile = filterFunc(strings.HasSuffix, ".groovy") GroovyGradle = filterFunc(strings.HasSuffix, ".gradle", ".gradle.kts") )
View Source
var ( PythonSetup = filterFunc(strings.HasSuffix, "setup.py") PythonPipfile = filterFunc(strings.HasSuffix, "Pipfile") PythonPipfileLock = filterFunc(strings.HasSuffix, "Pipfile.lock") PythonRequirementsTxt = func(filename string) bool { return filterFunc(strings.HasSuffix, ".txt")(filename) && filterFunc(strings.Contains, "requirements")(filepath.Base(filename)) && !filterFunc(strings.Contains, "test")(filepath.Base(filename)) } PythonRequirementsIn = filterFunc(strings.HasSuffix, "requirements.in") )
View Source
var ( SbomSpdx = filterFunc(strings.HasSuffix, ".spdx") SbomDsdx = filterFunc(strings.HasSuffix, ".dsdx") SbomJson = filterFunc(strings.HasSuffix, ".json") SbomXml = filterFunc(strings.HasSuffix, ".xml") )
View Source
var (
CompressFile = filterFunc(strings.HasSuffix,
".zip",
".jar",
".war",
".rar",
".tar",
".gz",
".bz2",
)
)
View Source
var (
ErlangRebarLock = filterFunc(strings.HasSuffix, "rebar.lock")
)
View Source
var (
JavaPom = filterFunc(strings.HasSuffix, "pom.xml", ".pom")
)
View Source
var (
RubyGemfileLock = filterFunc(strings.HasSuffix, "Gemfile.lock", "gems.locked")
)
View Source
var (
RustCargoLock = filterFunc(strings.HasSuffix, "Cargo.lock")
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.