Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/EventStore.ClientAPI.NetCore/ExpectedVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ public static class ExpectedVersion
/// <summary>
/// The stream should exist and should be empty. If it does not exist or is not empty treat that as a concurrency problem.
/// </summary>
public const long EmptyStream = -1;

public const long EmptyStream = 0;
/// <summary>
/// The stream is invalid
/// </summary>
public const long Invalid = -3;
/// <summary>
/// The stream should exist. If it or a metadata stream does not exist treat that as a concurrency problem.
/// </summary>
public const long StreamExists = -4;
}
}
}