Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/primitive
/ Clear
Method
Clear
primitive/heatmap.go:19–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
(h *Heatmap) Clear() {
20
for
i :=
range
h.Count {
21
h.Count[i] = 0
22
}
23
}
24
25
func
(h *Heatmap) Add(lines []Scanline) {
26
for
_, line :=
range
lines {
Callers
4
newContext
Method · 0.80
fillPath
Function · 0.80
strokePath
Function · 0.80
Init
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected