Functions
- Parses conflict markers from a slice. Returns None if there were no valid conflict markers. The caller has to provide the expected number of merge sides (adds). Conflict markers that are otherwise valid will be considered invalid if they don’t have the expected arity.
- Parses conflict markers in
content
and returns an updated version offile_ids
with the new contents. If no (valid) conflict markers remain, a single resolvesFileId
will be returned.