mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
10 lines
272 B
C#
10 lines
272 B
C#
namespace LanMountainDesktop.DesktopEditing;
|
|
|
|
internal static class DesktopEditCommitMath
|
|
{
|
|
public static bool IsPendingCommitValid(bool isPending, int scheduledVersion, int currentVersion)
|
|
{
|
|
return isPending && scheduledVersion == currentVersion;
|
|
}
|
|
}
|