func (e *Editor) RmLink(ctx context.Context, pth string) error {
	splpath := path.SplitList(pth)
	nd, err := e.rmLink(ctx, e.root, splpath)
	if err != nil {
		return err
	}
	e.root = nd
	return nil
}
// RmLink removes the link with the given name and updates the root node of
// the editor.
RmLink removes the link with the given name and updates the root node of
the editor.
// RmLink removes the link with the given name and updates the root node of // the editor .
func (e *Editor) RmLink(ctx context.Context, pth string) error {
	splpath := path.SplitList(pth)
	nd, err := e.rmLink(ctx, e.root, splpath)
	if err != nil {
		return err
	}
	e.root = nd
	return nil
}
func ( e * Editor ) RmLink ( ctx context . Context , pth string ) error { splpath := path . SplitList ( pth ) nd , err := e . rmLink ( ctx , e . root , splpath ) if err != nil { return err } e . root = nd return nil }
RmLink removes the link with the given name and updates the root node of
the editor.
RmLink removes the link with the given name and updates the root node of the editor .