Structs§
- Materialized
File Conflict Value - Conflicted
TreeValue::File
s with file contents. - Materialized
File Value TreeValue::File
with file contentreader
.- Materialized
Tree Diff Entry
Enums§
- Conflict
Marker Style - Describes what style should be used when materializing conflicts.
- Materialized
Tree Value - A type similar to
MergedTreeValue
but with associated data to include in e.g. the working copy or in a diff.
Constants§
- MIN_
CONFLICT_ MARKER_ LEN - Minimum length of conflict markers.
Functions§
- choose_
materialized_ conflict_ marker_ len - Given a Merge of files, choose the conflict marker length to use when materializing conflicts.
- extract_
as_ single_ hunk - materialize_
merge_ result - materialize_
merge_ result_ to_ bytes - materialize_
merge_ result_ to_ bytes_ with_ marker_ len - materialize_
merge_ result_ with_ marker_ len - materialize_
tree_ value - Reads the data associated with a
MergedTreeValue
so it can be written to e.g. the working copy or diff. - materialized_
diff_ stream - parse_
conflict - Parses conflict markers from a slice.
- resolve_
file_ executable - Resolves conflicts in file executable bit, returns the original state if the file is deleted and executable bit is unchanged.
- try_
materialize_ file_ conflict_ value - Suppose
conflict
contains only files or absent entries, reads the file contents. - update_
from_ content - 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.