MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / tokenPrefix

Function tokenPrefix

internal/serverapi/enroll.go:106–112  ·  view source on GitHub ↗
(t string)

Source from the content-addressed store, hash-verified

104}
105
106func tokenPrefix(t string) string {
107 t = strings.TrimSpace(t)
108 if len(t) <= 8 {
109 return t
110 }
111 return t[:8]
112}

Callers 2

RegisterEnrollEndpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected