freshness

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package freshness defines constants for technology-dependent file staleness checks.

Index

Constants

View Source
const (
	// StaleThreshold is the duration after which a tracked file is
	// considered stale and should be reviewed. ~6 months.
	StaleThreshold = 182 * 24 * time.Hour

	// ThrottleID is the state file name for daily throttle of
	// freshness checks.
	ThrottleID = "freshness-checked"
)
View Source
const (
	// VarStaleFiles is the template variable for stale file list.
	VarStaleFiles = "StaleFiles"
)

Template variable keys for freshness hooks.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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