File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
diff-patch is a library that exposes two functions, ` diff ` and ` patch ` .
6
6
7
- The ` diff ` function takes two objects and deep compares them, returning an object that represents the difference between the two.
7
+ The ` diff ` function takes two objects and deep compares them, returning an object that represents the difference between the two (the ` diffData ` ) .
8
8
9
9
The ` patch ` function takes an object and a diff object and applies the diff to the object, returning a new object.
10
10
11
+ The ` diff ` and ` patch ` functions are implemented in the following languages:
12
+
13
+ * TypeScript
14
+ * Python3
15
+
16
+ And the ` diffData ` object can be used interchangeably between the languages.
17
+
18
+ More languages will be added in the future, contributions are welcome.
19
+
You can’t perform that action at this time.
0 commit comments