Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ formatReference
Function
formatReference
cmp/report_references.go:254–256 ·
view source on GitHub ↗
(id uint)
Source
from the content-addressed store, hash-verified
252
}
253
254
func
formatReference(id uint) string {
255
return
fmt.Sprintf(
"ref#%d"
, id)
256
}
257
258
func
updateReferencePrefix(prefix, ref string) string {
259
if
prefix ==
""
{
Callers
1
resolveReferences
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected