MCPcopy
hub / github.com/garrytan/gstack / findActiveBoardForSourceDir

Function findActiveBoardForSourceDir

design/src/daemon.ts:179–184  ·  view source on GitHub ↗
(sourceDir: string)

Source from the content-addressed store, hash-verified

177}
178
179function findActiveBoardForSourceDir(sourceDir: string): Board | null {
180 for (const b of boards.values()) {
181 if (b.sourceDir === sourceDir && b.state !== "done") return b;
182 }
183 return null;
184}
185
186function escapeHtml(s: string): string {
187 return s.replace(/[&<>"']/g, (c) =>

Callers 1

handlePublishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected