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

Function setBuildInfoVersion

site/src/utils/docs.test.ts:13–18  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

11 });
12
13 function setBuildInfoVersion(version: string) {
14 const meta = document.createElement("meta");
15 meta.setAttribute("property", "build-info");
16 meta.setAttribute("content", JSON.stringify({ version }));
17 document.head.appendChild(meta);
18 }
19
20 async function getDocsUrl(path: string): Promise<string> {
21 // Dynamic import so we get a fresh module with cleared caches.

Callers 1

docs.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected