MCPcopy Create free account
hub / github.com/Marus/cortex-debug / getSVDFile

Method getSVDFile

src/frontend/extension.ts:240–243  ·  view source on GitHub ↗
(device: string)

Source from the content-addressed store, hash-verified

238 }
239
240 private getSVDFile(device: string): string {
241 const entry = this.SVDDirectory.find((de) => de.expression.test(device));
242 return entry ? entry.path : null;
243 }
244
245 public registerSVDFile(expression: RegExp | string, path: string): void {
246 if (typeof expression === 'string') {

Callers 1

debugSessionStartedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected