using System;
namespace LibGit2Sharp
{
///
/// Calculated status of a submodule in the working directory considering the current and the .
///
[Flags]
public enum SubmoduleStatus
{
///
/// No submodule changes detected.
///
Unmodified = 0,
///
/// Superproject head contains submodule.
///
/// Can be returned even if ignore is set to "ALL".
InHead = (1 << 0),
///
/// Superproject index contains submodule.
///
/// Can be returned even if ignore is set to "ALL".
InIndex = (1 << 1),
///
/// Superproject gitmodules has submodule.
///
/// Can be returned even if ignore is set to "ALL".
InConfig = (1 << 2),
///
/// Superproject working directory has submodule.
///
/// Can be returned even if ignore is set to "ALL".
InWorkDir = (1 << 3),
///
/// Submodule is in index, but not in head.
///
/// Can be returned unless ignore is set to "ALL".
IndexAdded = (1 << 4),
///
/// Submodule is in head, but not in index.
///
/// Can be returned unless ignore is set to "ALL".
IndexDeleted = (1 << 5),
///
/// Submodule in index and head don't match.
///
/// Can be returned unless ignore is set to "ALL".
IndexModified = (1 << 6),
///
/// Submodule in working directory is not initialized.
///
/// Can be returned unless ignore is set to "ALL".
WorkDirUninitialized = (1 << 7),
///
/// Submodule is in working directory, but not index.
///
/// Can be returned unless ignore is set to "ALL".
WorkDirAdded = (1 << 8),
///
/// Submodule is in index, but not working directory.
///
/// Can be returned unless ignore is set to "ALL".
WorkDirDeleted = (1 << 9),
///
/// Submodule in index and working directory head don't match.
///
/// Can be returned unless ignore is set to "ALL".
WorkDirModified = (1 << 10),
///
/// Submodule working directory index is dirty.
///
/// Can only be returned if ignore is "NONE" or "UNTRACKED".
WorkDirFilesIndexDirty = (1 << 11),
///
/// Submodule working directory has modified files.
///
/// Can only be returned if ignore is "NONE" or "UNTRACKED".
WorkDirFilesModified = (1 << 12),
///
/// Working directory contains untracked files.
///
/// Can only be returned if ignore is "NONE".
WorkDirFilesUntracked = (1 << 13),
}
}