THIS STORE IS NOT WRITEABLE
(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption)
| 168 | /////////////////////////////// |
| 169 | |
| 170 | func (a *Handler) CreateNode(ctx context.Context, in *tree.CreateNodeRequest, opts ...grpc.CallOption) (*tree.CreateNodeResponse, error) { |
| 171 | if a.isStorePath(in.Node.Path) { |
| 172 | return nil, errors.WithMessage(errors.BinaryCannotWriteStore, a.StoreName) |
| 173 | } |
| 174 | return a.Next.CreateNode(ctx, in, opts...) |
| 175 | } |
| 176 | |
| 177 | func (a *Handler) UpdateNode(ctx context.Context, in *tree.UpdateNodeRequest, opts ...grpc.CallOption) (*tree.UpdateNodeResponse, error) { |
| 178 | if a.isStorePath(in.From.Path) || a.isStorePath(in.To.Path) { |
nothing calls this directly
no test coverage detected