using System;
namespace LibGit2Sharp
{
///
/// Calculated status of a filepath in the working directory considering the current and the .
///
[Flags]
public enum FileStatus
{
///
/// The file doesn't exist.
///
Nonexistent = (1 << 31),
///
/// The file hasn't been modified.
///
Unaltered = 0, /* GIT_STATUS_CURRENT */
///
/// New file has been added to the Index. It's unknown from the Head.
///
Added = (1 << 0), /* GIT_STATUS_INDEX_NEW */
///
/// New version of a file has been added to the Index. A previous version exists in the Head.
///
Staged = (1 << 1), /* GIT_STATUS_INDEX_MODIFIED */
///
/// The deletion of a file has been promoted from the working directory to the Index. A previous version exists in the Head.
///
Removed = (1 << 2), /* GIT_STATUS_INDEX_DELETED */
///
/// The renaming of a file has been promoted from the working directory to the Index. A previous version exists in the Head.
///
Renamed = (1 << 3), /* GIT_STATUS_INDEX_RENAMED */
///
/// A change in type for a file has been promoted from the working directory to the Index. A previous version exists in the Head.
///
StagedTypeChange = (1 << 4), /* GIT_STATUS_INDEX_TYPECHANGE */
///
/// New file in the working directory, unknown from the Index and the Head.
///
Untracked = (1 << 7), /* GIT_STATUS_WT_NEW */
///
/// The file has been updated in the working directory. A previous version exists in the Index.
///
Modified = (1 << 8), /* GIT_STATUS_WT_MODIFIED */
///
/// The file has been deleted from the working directory. A previous version exists in the Index.
///
Missing = (1 << 9), /* GIT_STATUS_WT_DELETED */
///
/// The file type has been changed in the working directory. A previous version exists in the Index.
///
TypeChanged = (1 << 10), /* GIT_STATUS_WT_TYPECHANGE */
///
/// The file is but its name and/or path matches an exclude pattern in a gitignore file.
///
Ignored = (1 << 14), /* GIT_STATUS_IGNORED */
}
}