Method
CreateNode
(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption)
Source from the content-addressed store, hash-verified
| 116 | } |
| 117 | |
| 118 | func (h *HandlerMock) CreateNode(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption) (*tree.CreateNodeResponse, error) { |
| 119 | log.Logger(ctx).Info("[MOCK] Create Node " + in.Node.Path) |
| 120 | h.Nodes["in"] = in.Node |
| 121 | h.Context = ctx |
| 122 | return nil, nil |
| 123 | } |
| 124 | |
| 125 | func (h *HandlerMock) UpdateNode(ctx context.Context, in *tree.UpdateNodeRequest, opts ...grpc.CallOption) (*tree.UpdateNodeResponse, error) { |
| 126 | log.Logger(ctx).Info("[MOCK] Update Node " + in.From.Path + " to " + in.To.Path) |
Callers
nothing calls this directly
Tested by
no test coverage detected