(ctx context.Context, node blob.Ref)
| 271 | } |
| 272 | |
| 273 | func (h *handler) deleteNode(ctx context.Context, node blob.Ref) error { |
| 274 | ucl, err := schema.NewDeleteClaim(node).SetSigner(h.signer).JSON() |
| 275 | if err != nil { |
| 276 | return fmt.Errorf("could not create delete claim for %v: %v", node, err) |
| 277 | } |
| 278 | return h.signAndSend(ctx, ucl) |
| 279 | } |
| 280 | |
| 281 | // TODO(mpl): move that to client pkg, with a good API ? |
| 282 |
no test coverage detected