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

Function buildLogs

site/src/api/queries/workspaces.ts:480–485  ·  view source on GitHub ↗
(workspace: Workspace)

Source from the content-addressed store, hash-verified

478];
479
480export const buildLogs = (workspace: Workspace) => {
481 return {
482 queryKey: buildLogsKey(workspace.id),
483 queryFn: () => API.getWorkspaceBuildLogs(workspace.latest_build.id),
484 };
485};
486
487export const agentLogsKey = (agentId: string) => ["agents", agentId, "logs"];
488

Callers 1

DownloadLogsDialogFunction · 0.90

Calls 1

buildLogsKeyFunction · 0.85

Tested by

no test coverage detected