MCPcopy Create free account
hub / github.com/compozy/agh / notifyChangeHook

Method notifyChangeHook

internal/workspace/resolver.go:270–278  ·  view source on GitHub ↗
(ctx context.Context, operation string, workspaceID string)

Source from the content-addressed store, hash-verified

268}
269
270func (r *Resolver) notifyChangeHook(ctx context.Context, operation string, workspaceID string) error {
271 if r == nil || r.changeHook == nil {
272 return nil
273 }
274 if err := r.changeHook(ctx); err != nil {
275 return fmt.Errorf("workspace: %s workspace %q change hook: %w", operation, workspaceID, err)
276 }
277 return nil
278}
279
280func (r *Resolver) buildResolvedWorkspace(
281 ctx context.Context,

Callers 4

RegisterMethod · 0.95
UnregisterMethod · 0.95
UpdateMethod · 0.95
ResolveOrRegisterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected