MCPcopy Index your code
hub / github.com/coder/coder / TaskID

Method TaskID

coderd/agentapi/cached_workspace.go:51–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (cws *CachedWorkspaceFields) TaskID() uuid.NullUUID {
52 cws.lock.RLock()
53 defer cws.lock.RUnlock()
54 return cws.taskID
55}
56
57// Returns the Workspace, true, unless the workspace has not been cached (nuked or was a prebuild).
58func (cws *CachedWorkspaceFields) AsWorkspaceIdentity() (database.WorkspaceIdentity, bool) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected