Discover Packages
github.com/cernly/cernly
pipeline
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Nov 15, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 1 module, 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.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package pipeline scans a commit and derives its map. It is the one entry
point for every caller, so the same commit always gives the same bytes.
Constants
func Map(raw []byte, set rules.Settings) (*rules.Map, error)
func OriginID(dir string) string
func Scan(dir string, o ScanOptions) (*fact.Scan, []string, error)
func ScanWorkTree(dir, repoID, sha, committedAt string, ps []plugin.Plugin, op config.Operator) (*fact.Scan, []string, error)
type ScanOptions
Version is the extractor version every scan records. Bump on any output
change; see CHANGELOG.md.
Map reads a facts file and derives its map.
originID turns the origin remote into host/owner/name. Credentials in an
https remote never reach the output.
Scan runs every plugin on dir and returns the normalised scan.
ScanWorkTree scans dir as it is on disk and only labels it with sha, also
inside a git work tree: for test fixtures, whose commit is made up.
ScanOptions says what Scan reads and how. An empty Commit scans the working
tree, labelled with HEAD; an empty RepoID is taken from the origin remote.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.