Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
T
Function · 0.80
benchmark.ts
File · 0.80
S
Function · 0.80
Calls
no outgoing calls
Tested by
1
S
Function · 0.64