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

Method CreateNode

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

Source from the content-addressed store, hash-verified

112}
113
114func (e *Executor) CreateNode(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption) (*tree.CreateNodeResponse, error) {
115 log.Logger(ctx).Debug("Exec.CreateNode", zap.String("p", in.Node.Path))
116 return nodes.GetSourcesPool(ctx).GetTreeClientWrite().CreateNode(ctx, in, opts...)
117}
118
119func (e *Executor) UpdateNode(ctx context.Context, in *tree.UpdateNodeRequest, opts ...grpc.CallOption) (*tree.UpdateNodeResponse, error) {
120 return nodes.GetSourcesPool(ctx).GetTreeClientWrite().UpdateNode(ctx, in, opts...)

Callers

nothing calls this directly

Calls 6

LoggerFunction · 0.92
GetSourcesPoolFunction · 0.92
DebugMethod · 0.65
StringMethod · 0.65
CreateNodeMethod · 0.65
GetTreeClientWriteMethod · 0.65

Tested by

no test coverage detected