MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getEntryFileName

Function getEntryFileName

site/demo.ts:90–93  ·  view source on GitHub ↗
(files: {[path: string]: string})

Source from the content-addressed store, hash-verified

88};
89
90const getEntryFileName = (files: {[path: string]: string}): string =>
91 ['src/main.js', 'src/main.jsx', 'index.js', 'index.jsx'].find(
92 (path) => files[path] != null,
93 ) ?? 'src/main.js';
94
95const getCss = (source: string): string => {
96 let css = '';

Callers 1

getDemoDocFunction · 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…