MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / diffChars

Function diffChars

app/src/uiLogic/diff.ts:7–8  ·  view source on GitHub ↗
(oldStr?: string, newStr?: string)

Source from the content-addressed store, hash-verified

5} from 'diff'
6
7export const diffChars = (oldStr?: string, newStr?: string) =>
8 diffCharsOg(oldStr ?? '', newStr ?? '')
9
10export const diffJson = (oldObj?: string | object, newObj?: string | object) =>
11 diffJsonOg(oldObj ?? '', newObj ?? '')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected