Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jesseduffield/lazygit
/ Add
Method
Add
pkg/utils/string_pool.go:11–14 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
9
}
10
11
func
(self *StringPool) Add(s string) *string {
12
poolEntry, _ := self.LoadOrStore(s, &s)
13
return
poolEntry.(*string)
14
}
Callers
6
TestRenderCommitGraph
Function · 0.95
TestRenderPipeSet
Function · 0.95
TestGetNextPipes
Function · 0.95
BenchmarkRenderCommitGraph
Function · 0.95
CreateRepoHistory
Method · 0.45
TestAsyncHandler
Function · 0.45
Calls
no outgoing calls
Tested by
5
TestRenderCommitGraph
Function · 0.76
TestRenderPipeSet
Function · 0.76
TestGetNextPipes
Function · 0.76
BenchmarkRenderCommitGraph
Function · 0.76
TestAsyncHandler
Function · 0.36