using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LibGit2Sharp
{
///
/// Flags controlling what files are reported by status.
///
public enum StatusShowOption
{
///
/// Both the index and working directory are examined for changes
///
IndexAndWorkDir = 0,
///
/// Only the index is examined for changes
///
IndexOnly = 1,
///
/// Only the working directory is examined for changes
///
WorkDirOnly = 2
}
///
/// Options controlling the status behavior.
///
public sealed class StatusOptions
{
///
/// Initializes a new instance of the class.
/// By default, both the index and the working directory will be scanned
/// for status, and renames will be detected from changes staged in the
/// index only.
///
public StatusOptions()
{
DetectRenamesInIndex = true;
}
///
/// Which files should be scanned and returned
///
public StatusShowOption Show { get; set; }
///
/// Examine the staged changes for renames.
///
public bool DetectRenamesInIndex { get; set; }
///
/// Examine unstaged changes in the working directory for renames.
///
public bool DetectRenamesInWorkDir { get; set; }
///
/// Exclude submodules from being scanned for status
///
public bool ExcludeSubmodules { get; set; }
}
}