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

Function unescapeFromDiff

src/utils/diff.ts:39–41  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

37}
38
39function unescapeFromDiff(s: string): string {
40 return s.replaceAll(AMPERSAND_TOKEN, '&').replaceAll(DOLLAR_TOKEN, '$')
41}
42
43/**
44 * Count lines added and removed in a patch and update the total

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected