| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Converts a diff (output of one of the Get-*Diff commands) to a source (text1) and destination (text2)
ConvertFrom-DiffToText [-Diff] <Object>
Function from https://github.com/google/diff-match-patch
$srcText = "jumps over the lazy" $destText = "jumped over a lazy" $res = Get-CharDiff $srcText $destText | ConvertFrom-DiffToText
The diffs (output from Get-*Diff command) to be converted to text1 and text2
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False| Back | FazBrowse Home | New Git URL |