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

Method InsertWorkspace

internal/workspace/resolver_test.go:1762–1770  ·  view source on GitHub ↗
(ctx context.Context, ws Workspace)

Source from the content-addressed store, hash-verified

1760}
1761
1762func (s *cancelOnInsertStore) InsertWorkspace(ctx context.Context, ws Workspace) error {
1763 if err := s.mockWorkspaceStore.InsertWorkspace(ctx, ws); err != nil {
1764 return err
1765 }
1766 if s.cancel != nil {
1767 s.cancel()
1768 }
1769 return nil
1770}
1771
1772func (s *cancelOnInsertStore) DeleteWorkspace(ctx context.Context, id string) error {
1773 s.deleteCtxErr = ctx.Err()

Callers

nothing calls this directly

Calls 2

cancelMethod · 0.80
InsertWorkspaceMethod · 0.65

Tested by

no test coverage detected