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

Method addPathVariations

src/backend/symbols.ts:756–763  ·  view source on GitHub ↗
(fileString: string)

Source from the content-addressed store, hash-verified

754 }
755
756 private addPathVariations(fileString: string) {
757 const curName = SymbolTable.NormalizePath(fileString);
758 const curSimpleName = path.basename(curName);
759 this.addToFileMap(curSimpleName, curSimpleName);
760 this.addToFileMap(curSimpleName, curName);
761 this.addToFileMap(curName, curSimpleName);
762 return { curSimpleName, curName };
763 }
764
765 /*
766 protected getFileNameHashed(fileName: string): string {

Callers 1

readNmSymbolLineMethod · 0.95

Calls 2

addToFileMapMethod · 0.95
NormalizePathMethod · 0.80

Tested by

no test coverage detected