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

Method Lock

pkg/client/client.go:85–85  ·  view source on GitHub ↗

Lock locks the workspace. This is a file lock, which means the workspace is locked across processes.

(ctx context.Context)

Source from the content-addressed store, hash-verified

83 // Lock locks the workspace. This is a file lock, which means
84 // the workspace is locked across processes.
85 Lock(ctx context.Context) error
86
87 // Unlock unlocks the workspace.
88 Unlock()

Callers 15

initLockMethod · 0.65
WorkspaceMethod · 0.65
WorkspaceConfigMethod · 0.65
RefreshOptionsMethod · 0.65
DeleteMethod · 0.65
StopMethod · 0.65
StatusMethod · 0.65
WorkspaceMethod · 0.65
WorkspaceConfigMethod · 0.65
AgentLocalMethod · 0.65
AgentPathMethod · 0.65
AgentURLMethod · 0.65

Implementers 2

proxyClientpkg/client/clientimplementation/proxy_
workspaceClientpkg/client/clientimplementation/worksp

Calls

no outgoing calls

Tested by

no test coverage detected