Skip to content

Commit dc6f52a

Browse files
committed
Mark IndexEntry.State obsolete
1 parent 1a45367 commit dc6f52a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LibGit2Sharp/IndexEntry.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class IndexEntry : IEquatable<IndexEntry>
2020
/// State of the version of the <see cref = "Blob" /> pointed at by this <see cref = "IndexEntry" />,
2121
/// compared against the <see cref = "Blob" /> known from the <see cref = "Repository.Head" /> and the file in the working directory.
2222
/// </summary>
23+
[Obsolete("This method will be removed in the next release. Please use Repository.Index.RetrieveStatus(filePath) overload instead.")]
2324
public FileStatus State
2425
{
2526
get { return state(); }

0 commit comments

Comments
 (0)