Documentation ¶
Overview ¶
Package timestampexpanded implements the ruleset for making sure a variable that likely represents a timestamp is simply expanded so it doesn't change in between rule executions. Ideally if you want to follow something like https://reproducible-builds.org/ timestamps in artefacts are frowned upon, however sometimes they are the best tool you have and at least they should be consistent across all build artefacts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timestampexpanded ¶
type Timestampexpanded struct { }
Timestampexpanded is an empty struct on which to call the rule functions
func (*Timestampexpanded) Description ¶
func (r *Timestampexpanded) Description() string
Description returns the description of the rule
func (*Timestampexpanded) Name ¶
func (r *Timestampexpanded) Name() string
Name returns the name of the rule
func (*Timestampexpanded) Run ¶
func (r *Timestampexpanded) Run(makefile parser.Makefile, config rules.RuleConfig) rules.RuleViolationList
Run executes the rule logic
Click to show internal directories.
Click to hide internal directories.