Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diillson/chatcli
/ graphSlug
Function
graphSlug
cli/knowledge_graph.go:187–189 ·
view source on GitHub ↗
--- helpers ---
(s string)
Source
from the content-addressed store, hash-verified
185
// --- helpers ---
186
187
func
graphSlug(s string) string {
188
return
strings.ToLower(strings.TrimSpace(s))
189
}
190
191
func
tagID(s string) string {
return
"tag:"
+ graphSlug(s) }
192
Callers
4
addMemoryNodes
Method · 0.85
addSkillNodes
Method · 0.85
tagID
Function · 0.85
TestGraphHelpers
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestGraphHelpers
Function · 0.68