MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / UpdateNode

Method UpdateNode

src/api/node/node.go:179–184  ·  view source on GitHub ↗
(ctx context.Context, node *Node)

Source from the content-addressed store, hash-verified

177}
178
179func (s *nodeService) UpdateNode(ctx context.Context, node *Node) error {
180 s.mu.Lock()
181 defer s.mu.Unlock()
182 s.nodes[node.ID] = node
183 return nil
184}
185
186func (s *nodeService) DeleteNode(ctx context.Context, id string) error {
187 s.mu.Lock()

Callers 1

ServeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected