Skip to content

dependabit / detector/src / parseDiff

Function: parseDiff()

ts
function parseDiff(patch): DiffParseResult;

Defined in: packages/detector/src/diff-parser.ts:73

Parse a unified diff and extract additions and deletions

Parameters

ParameterType
patchstring

Returns

DiffParseResult

Released under the MIT License.