MCPcopy Create free account
hub / github.com/diillson/chatcli / remoteName

Function remoteName

cli/skill_handler.go:819–824  ·  view source on GitHub ↗

remote*/local* helpers turn nil-safe field reads into one-line calls so callers don't have to interleave `if remote != nil` everywhere.

(r *registry.SkillMeta)

Source from the content-addressed store, hash-verified

817// remote*/local* helpers turn nil-safe field reads into one-line calls so
818// callers don't have to interleave `if remote != nil` everywhere.
819func remoteName(r *registry.SkillMeta) string {
820 if r == nil {
821 return ""
822 }
823 return r.Name
824}
825func remoteDescription(r *registry.SkillMeta) string {
826 if r == nil {
827 return ""

Callers 3

printSkillInfoHeaderMethod · 0.85

Calls

no outgoing calls

Tested by 2