You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defined in: [conflict-helper.ts:31](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/conflict-helper.ts#L31)
15
+
Defined in: [conflict-helper.ts:31](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/conflict-helper.ts#L31)
Copy file name to clipboardExpand all lines: docs/file-parser.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ nav_order: 6
10
10
11
11
### ParseConflictOptions
12
12
13
-
Defined in: [file-parser.ts:20](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L20)
13
+
Defined in: [file-parser.ts:20](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L20)
14
14
15
15
Options for parsing conflicted content.
16
16
@@ -24,7 +24,7 @@ Options for parsing conflicted content.
24
24
25
25
> `optional`**filename**: `string`
26
26
27
-
Defined in: [file-parser.ts:29](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L29)
27
+
Defined in: [file-parser.ts:29](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L29)
28
28
29
29
Optional filename hint to prioritize parser choice.
30
30
Example:
@@ -38,7 +38,7 @@ If extension is unknown, falls back to `parsers` or `"json"`.
Defined in: [types.ts:191](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/types.ts#L191)
41
+
Defined in: [types.ts:231](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/types.ts#L231)
42
42
43
43
Parsers to attempt, in order:
44
44
@@ -55,7 +55,7 @@ Defaults to `"json"`.
55
55
56
56
### ParsedConflict\<T\>
57
57
58
-
Defined in: [file-parser.ts:8](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L8)
58
+
Defined in: [file-parser.ts:8](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L8)
59
59
60
60
Represents a parsed conflict from a file with `ours` and `theirs` versions.
61
61
@@ -73,23 +73,23 @@ The type of the parsed content.
73
73
74
74
> **format**: `string`
75
75
76
-
Defined in: [file-parser.ts:14](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L14)
76
+
Defined in: [file-parser.ts:14](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L14)
77
77
78
78
Format used to parse the content (`json`, `yaml`, `toml`, `xml`, or `custom`).
79
79
80
80
##### ours
81
81
82
82
> **ours**: `T`
83
83
84
-
Defined in: [file-parser.ts:10](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L10)
84
+
Defined in: [file-parser.ts:10](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L10)
85
85
86
86
Parsed content from the "ours" side of the conflict.
87
87
88
88
##### theirs
89
89
90
90
> **theirs**: `T`
91
91
92
-
Defined in: [file-parser.ts:12](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L12)
92
+
Defined in: [file-parser.ts:12](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L12)
93
93
94
94
Parsed content from the "theirs" side of the conflict.
95
95
@@ -99,7 +99,7 @@ Parsed content from the "theirs" side of the conflict.
Defined in: [file-parser.ts:120](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L120)
102
+
Defined in: [file-parser.ts:120](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L120)
103
103
104
104
Normalize parsers based on filename + options.
105
105
@@ -119,7 +119,7 @@ Normalize parsers based on filename + options.
Defined in: [file-parser.ts:49](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L49)
122
+
Defined in: [file-parser.ts:49](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L49)
123
123
124
124
Parses a conflicted file's content into separate `ours` and `theirs` objects.
125
125
@@ -169,7 +169,7 @@ If parsing fails or conflict markers are invalid.
Defined in: [file-parser.ts:159](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L159)
172
+
Defined in: [file-parser.ts:159](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L159)
173
173
174
174
Internal parser dispatcher for supported formats.
175
175
@@ -193,7 +193,7 @@ Internal parser dispatcher for supported formats.
Defined in: [file-parser.ts:141](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-parser.ts#L141)
196
+
Defined in: [file-parser.ts:141](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-parser.ts#L141)
Defined in: [file-serializer.ts:1](https://github.com/react18-tools/git-json-resolver/blob/f4a78307ca1912fa18ae0a9600625f9d3b3c8372/lib/src/file-serializer.ts#L1)
15
+
Defined in: [file-serializer.ts:1](https://github.com/react18-tools/git-json-resolver/blob/d66fea6d97a1504766ed9007635bb4e3c057eb5c/lib/src/file-serializer.ts#L1)
0 commit comments