MCPcopy Create free account
hub / github.com/pydio/cells / CreateNode

Method CreateNode

common/nodes/handler-mock.go:118–123  ·  view source on GitHub ↗
(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

116}
117
118func (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
125func (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

Calls 2

LoggerFunction · 0.92
InfoMethod · 0.65

Tested by

no test coverage detected