MCPcopy Create free account
hub / github.com/banga/git-split-diffs / create

Method create

src/SpannedString.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 static create<T>() {
31 return new SpannedString<T>('', [undefined], 0);
32 }
33
34 addSpan(startIndex: number, endIndex: number, attribute: T) {
35 this._spanMarkers[startIndex] = this._spanMarkers[startIndex] ?? [];

Callers 3

TFunction · 0.80
benchmark.tsFile · 0.80
SFunction · 0.80

Calls

no outgoing calls

Tested by 1

SFunction · 0.64