MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / has

Function has

e2e/viewer/src/App.tsx:185–185  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

183 if (!result) return <div className="page dim">loading…</div>;
184
185 const has = (name: string) => result.artifacts.includes(name);
186 const screenshots = result.artifacts.filter((a) => a.endsWith(".png")).sort();
187 const video = has("session.mp4") ? "session.mp4" : has("session.webm") ? "session.webm" : null;
188 const film = has("film.mp4") ? "film.mp4" : null;

Callers 2

RunViewFunction · 0.85
contextForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected