MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / constructor

Method constructor

src/common/debug.ts:11–14  ·  view source on GitHub ↗
(source: string, url?: string)

Source from the content-addressed store, hash-verified

9 _lineOffsets?: number[];
10
11 constructor(source: string, url?: string) {
12 this.source = source;
13 this.url = url ?? '';
14 }
15
16 get lines(): string[] {
17 if (!this._lines) this._lines = this.source.split(LINEBREAK);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected