File indexing completed on 2025-01-05 05:14:47

0001 /*
0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 namespace Diff
0010 {
0011 
0012 enum class LineEnding { None, Cr, Lf, CrLf };
0013 
0014 enum class DiffType { Unchanged, Added, Removed, Modified };
0015 
0016 enum MergeType { None, KeepLocal, KeepRemote, KeepLocalThenRemote, KeepRemoteThenLocal, MergeCustom };
0017 
0018 enum class SegmentType {
0019     SameOnBoth,
0020     OnlyOnLeft,
0021     OnlyOnRight,
0022     DifferentOnBoth,
0023 };
0024 
0025 enum MergeDiffType { Unchanged, LocalAdd, RemoteAdd, BothChanged };
0026 
0027 }