polygone/Library/PackageCache/com.unity.collab-proxy@1.3.9/Editor/Models/Structures/IChangeEntry.cs
2021-08-02 05:44:37 -04:00

34 lines
816 B
C#

namespace Unity.Cloud.Collaborate.Models.Structures
{
internal enum ChangeEntryStatus
{
None,
Untracked,
Ignored,
Modified,
Added,
Deleted,
Renamed,
Copied,
TypeChange,
Unmerged,
Unknown,
Broken
}
internal interface IChangeEntry
{
string Path { get; }
string OriginalPath { get; }
ChangeEntryStatus Status { get; }
bool Staged { get; }
bool Unmerged { get; }
object Tag { get; }
/// <summary>
/// Returns the string name of the status of this entry. Returns null if the status isn't used at present.
/// </summary>
/// <returns>String of used status. Null otherwise.</returns>
string StatusToString();
}
}