mirror of
https://github.com/tiennm99/ghstats.git
synced 2026-08-20 02:28:06 +00:00
refactor(model): rename TotalContributions → TotalContributionsLastYear
N8 — the field is set from contributionsCollection.contributionCalendar, a rolling last-year window, not a lifetime total. Rename + updated comment makes the semantics explicit so future readers don't confuse it with TotalCommitsAllTime.
This commit is contained in:
@@ -27,7 +27,7 @@ type Profile struct {
|
||||
TotalIssues int
|
||||
TotalReviews int
|
||||
TotalContributedTo int
|
||||
TotalContributions int // lifetime contributions from calendar + restricted
|
||||
TotalContributionsLastYear int // contributionCalendar.totalContributions + restrictedContributionsCount (last year)
|
||||
|
||||
// Count of owned repos grouped by primary language, sorted desc by Value.
|
||||
ReposByLanguage []LangStat
|
||||
|
||||
Reference in New Issue
Block a user