MCPcopy Create free account
hub / github.com/VGabriel45/SolidityVisualizer / isExampleRepo

Function isExampleRepo

src/hooks/useDiagram.ts:326–330  ·  view source on GitHub ↗
(repoName: string)

Source from the content-addressed store, hash-verified

324 }, [getDiagram]);
325
326 const isExampleRepo = (repoName: string): boolean => {
327 return Object.values(exampleRepos).some((value) =>
328 value.includes(repoName),
329 );
330 };
331
332 const handleModify = async (instructions: string) => {
333 if (isExampleRepo(repo)) {

Callers 2

handleModifyFunction · 0.85
handleRegenerateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected