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

Function getDiffView

static/components.ts:308–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307/** Get an empty diff component. */
308export function getDiffView(): ComponentConfig<typeof DIFF_VIEW_COMPONENT_NAME> {
309 return {
310 type: 'component',
311 componentName: DIFF_VIEW_COMPONENT_NAME,
312 componentState: {},
313 };
314}
315
316/**
317 * Get a diff component with the given configuration.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected