MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getOptView

Function getOptView

static/components.ts:333–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331
332/** Get an empty opt view component. */
333export function getOptView(): ComponentConfig<typeof OPT_VIEW_COMPONENT_NAME> {
334 return {
335 type: 'component',
336 componentName: OPT_VIEW_COMPONENT_NAME,
337 componentState: {},
338 };
339}
340
341/** Get an opt view with the given configuration. */
342export function getOptViewWith(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected