MCPcopy
hub / github.com/midrender/revideo / findAndOpenFirstUserFile

Function findAndOpenFirstUserFile

packages/ui/src/utils/sourceMaps.ts:171–176  ·  view source on GitHub ↗
(stack: string)

Source from the content-addressed store, hash-verified

169}
170
171export async function findAndOpenFirstUserFile(stack: string) {
172 const entry = await resolveStackTrace(stack, true);
173 if (entry) {
174 await openFileInEditor(entry);
175 }
176}
177
178function getExtension(file: string): string | null {
179 const parts = file.split('.');

Callers 3

ComponentFunction · 0.90
SlideTrackFunction · 0.90
SceneClipFunction · 0.90

Calls 2

resolveStackTraceFunction · 0.85
openFileInEditorFunction · 0.85

Tested by

no test coverage detected