Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zxlie/FeHelper
/ splitLines
Function
splitLines
apps/json-diff/diff-utils.js:5–7 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
3
}
4
5
export
function
splitLines(text) {
6
return
normalizeLineEndings(text).split(
'\n'
);
7
}
8
9
export
function
compareTextByLine(leftText, rightText) {
10
const
leftLines = splitLines(leftText);
Callers
2
json-diff-utils.test.js
File · 0.90
compareTextByLine
Function · 0.85
Calls
1
normalizeLineEndings
Function · 0.85
Tested by
no test coverage detected