create_diff: create a diff as character string

View source: R/diffr2.R

create_diffR Documentation

create a diff as character string

Description

creates a diff of two text files. Based on jsdiff (BSD) javascript library by Kevin Decker. If character vectors are supplied, a diff will be created from them as well.

Usage

create_diff(oldFile = NULL, newFile = NULL)

Arguments

oldFile

old

newFile

new

Examples

 create_diff("foo\nbar", "foo\nbaz")


JanMarvin/diffr2 documentation built on Dec. 27, 2024, 12:12 p.m.