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

Function sourceProto

core/ipc_handler.go:329–334  ·  view source on GitHub ↗
(source state.Source)

Source from the content-addressed store, hash-verified

327}
328
329func sourceProto(source state.Source) *protocol.Source {
330 return &protocol.Source{
331 NodeId: string(source.NodeId),
332 Prefix: source.Prefix.String(),
333 }
334}
335
336func fdProto(fd state.FD) *protocol.FD {
337 return &protocol.FD{

Callers 2

pubRouteProtoFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected