MCPcopy Create free account
hub / github.com/JordanCoin/codemap / DiffOutputBytes

Method DiffOutputBytes

config/config.go:177–179  ·  view source on GitHub ↗

DiffOutputBytes returns a bounded diff output budget.

()

Source from the content-addressed store, hash-verified

175
176// DiffOutputBytes returns a bounded diff output budget.
177func (c ProjectConfig) DiffOutputBytes() int {
178 return clampBudget(c.Budgets.DiffBytes, limits.MaxDiffOutputBytes, limits.MaxContextOutputBytes)
179}
180
181// HubDisplayLimit returns how many hubs session-start should print.
182func (c ProjectConfig) HubDisplayLimit() int {

Callers 2

showDiffVsMainFunction · 0.80

Calls 1

clampBudgetFunction · 0.85

Tested by 1