MCPcopy Create free account
hub / github.com/encodeous/nylon / keyString

Function keyString

core/ipc_handler.go:371–377  ·  view source on GitHub ↗
(key state.NyPublicKey)

Source from the content-addressed store, hash-verified

369}
370
371func keyString(key state.NyPublicKey) string {
372 text, err := key.MarshalText()
373 if err != nil {
374 return ""
375 }
376 return string(text)
377}
378
379func stringPtr(v string) *string {
380 return &v

Callers 2

handleStatusFunction · 0.85
buildNeighboursFunction · 0.85

Calls 1

MarshalTextMethod · 0.45

Tested by

no test coverage detected