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

Function getExamplesRoot

lib/sources/builtin.ts:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80export function getExamplesRoot(): string {
81 return props.get<string>('builtin', 'sourcePath', './examples/');
82}
83
84export function createBuiltinSource(): BuiltinSource {
85 const examplesRoot = getExamplesRoot();

Callers 2

createBuiltinSourceFunction · 0.85
parseMethod · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected