Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmitTelemetry ¶
func EmitTelemetry(root string, result RemovalReport)
func WriteReceipt ¶
func WriteReceipt(root string, result RemovalReport) (string, error)
WriteReceipt persists the typed close result as a local, non-secret audit artifact. The file is kept below .git so it cannot become a project change.
Types ¶
type Receipt ¶
type Receipt struct {
Verdict string `json:"verdict"`
Classes []string `json:"classes"`
Removed []string `json:"removed"`
}
func NewReceipt ¶
func NewReceipt(result RemovalReport) Receipt
type RemovalReport ¶
func Remove ¶
func Remove(project string, report Report) RemovalReport
Click to show internal directories.
Click to hide internal directories.