MCPcopy Create free account
hub / github.com/tinyplex/tinybase / getEntryFileName

Function getEntryFileName

site/ui/ExecutableProject.tsx:209–214  ·  view source on GitHub ↗
(files: {
  [path: string]: string;
})

Source from the content-addressed store, hash-verified

207 : undefined;
208
209const getEntryFileName = (files: {
210 [path: string]: string;
211}): string | undefined =>
212 ['src/main.jsx', 'src/main.js', 'index.jsx', 'index.js'].find(
213 (path) => files[path] != null,
214 );
215
216export const ExecutableProject: NoPropComponent = (): any => {
217 const {name: title, summary: description = '', executables} = usePageNode();

Callers 1

ExecutableProjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…