Home
last modified time | relevance | path

Searched refs:uniDiff (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/npm/node_modules/diff/lib/patch/
Dapply.js26 function applyPatch(source, uniDiff) { argument
32 if (typeof uniDiff === 'string') {
33 uniDiff =
45 (uniDiff);
48 if (Array.isArray(uniDiff)) {
49 if (uniDiff.length > 1) {
53 uniDiff = uniDiff[0];
59 hunks = uniDiff.hunks,
194 function applyPatches(uniDiff, options) { argument
195 if (typeof uniDiff === 'string') {
[all …]
Dparse.js10 function parsePatch(uniDiff) { argument
15 var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
16 delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
/third_party/node/deps/npm/node_modules/diff/lib/
Dindex.es6.js652 function parsePatch(uniDiff) { argument
654 var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
655 delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
851 function applyPatch(source, uniDiff) { argument
854 if (typeof uniDiff === 'string') {
855 uniDiff = parsePatch(uniDiff);
858 if (Array.isArray(uniDiff)) {
859 if (uniDiff.length > 1) {
863 uniDiff = uniDiff[0];
869 hunks = uniDiff.hunks,
[all …]
Dindex.mjs652 function parsePatch(uniDiff) { argument
654 var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
655 delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
851 function applyPatch(source, uniDiff) { argument
854 if (typeof uniDiff === 'string') {
855 uniDiff = parsePatch(uniDiff);
858 if (Array.isArray(uniDiff)) {
859 if (uniDiff.length > 1) {
863 uniDiff = uniDiff[0];
869 hunks = uniDiff.hunks,
[all …]
/third_party/node/deps/npm/node_modules/diff/dist/
Ddiff.js658 function parsePatch(uniDiff) { argument
660 var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
661 delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
857 function applyPatch(source, uniDiff) { argument
860 if (typeof uniDiff === 'string') {
861 uniDiff = parsePatch(uniDiff);
864 if (Array.isArray(uniDiff)) {
865 if (uniDiff.length > 1) {
869 uniDiff = uniDiff[0];
875 hunks = uniDiff.hunks,
[all …]