mcp: minor cleanup of some TODOs (#332)
Do a pass through TODOs to delete or address minor TODOs.
This commit is contained in:
parent
719f68d0bf
commit
62d815922f
1 changed files with 14 additions and 11 deletions
|
|
@ -226,7 +226,6 @@ func (c *Client) AddRoots(roots ...*Root) {
|
|||
// RemoveRoots removes the roots with the given URIs,
|
||||
// and notifies any connected servers if the list has changed.
|
||||
// It is not an error to remove a nonexistent root.
|
||||
// TODO: notification
|
||||
func (c *Client) RemoveRoots(uris ...string) {
|
||||
changeAndNotify(c, notificationRootsListChanged, &RootsListChangedParams{},
|
||||
func() bool { return c.roots.remove(uris...) })
|
||||
|
|
|
|||
Loading…
Reference in a new issue