MCPcopy
hub / github.com/loft-sh/devpod / WorkspaceConfig

Method WorkspaceConfig

pkg/client/clientimplementation/proxy_client.go:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (s *proxyClient) WorkspaceConfig() *provider.Workspace {
132 s.m.Lock()
133 defer s.m.Unlock()
134
135 return provider.CloneWorkspace(s.workspace)
136}
137
138func (s *proxyClient) Context() string {
139 return s.workspace.Context

Callers

nothing calls this directly

Calls 3

CloneWorkspaceFunction · 0.92
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected