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

Function stringPtr

core/ipc_handler.go:379–381  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

377}
378
379func stringPtr(v string) *string {
380 return &v
381}
382
383func comparePubRoute(a, b *protocol.PubRoute) int {
384 if c := cmp.Compare(a.Source.Prefix, b.Source.Prefix); c != 0 {

Callers 1

buildEndpointsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected