MCPcopy Create free account
hub / github.com/freecodexyz/free-code / equals

Method equals

src/utils/Cursor.ts:1116–1118  ·  view source on GitHub ↗
(other: WrappedLine)

Source from the content-addressed store, hash-verified

1114 ) {}
1115
1116 equals(other: WrappedLine): boolean {
1117 return this.text === other.text && this.startOffset === other.startOffset
1118 }
1119
1120 get length(): number {
1121 return this.text.length + (this.endsWithNewline ? 1 : 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected