INNER CODE UNIT · Go
StaleThreshold
Bharath-code/git-scope · internal/attention/attention.go:15
const StaleThreshold = 7 * 24 * time.Hour
// Tier is the ordinal attention bucket for a repo. Higher is more urgent.
type Tier int
const (
Clean Tier = iota
Watch
Action
)
func (t Tier) String() string {
switch t {
case Action:
return "ACTION"
case Watch:
return "WATCH"
default: