Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diillson/chatcli
/ firstActionType
Function
firstActionType
server/handler_analysis.go:148–153 ·
view source on GitHub ↗
(actions []actionEntry)
Source
from the content-addressed store, hash-verified
146
}
147
148
func
firstActionType(actions []actionEntry) string {
149
if
len(actions) == 0 {
150
return
""
151
}
152
return
actions[0].Action
153
}
154
155
func
truncate(s string, n int) string {
156
if
len(s) <= n {
Callers
1
AnalyzeIssue
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected