Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tailscale/tailscale
/ strhash
Function
strhash
control/controlclient/map.go:1287–1291 ·
view source on GitHub ↗
(h string)
Source
from the content-addressed store, hash-verified
1285
}
1286
1287
func
strhash(h string) string {
1288
s := sha256.New()
1289
io.WriteString(s, h)
1290
return
hex.EncodeToString(s.Sum(nil))
1291
}
Callers
1
netmap
Method · 0.85
Calls
3
WriteString
Method · 0.80
New
Method · 0.45
Sum
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…