using LibGit2Sharp.Handlers;
namespace LibGit2Sharp
{
///
/// Options to define clone behaviour
///
public sealed class CloneOptions
{
///
/// Creates default for a non-bare clone
///
public CloneOptions()
{
Checkout = true;
}
///
/// True will result in a bare clone, false a full clone.
///
public bool IsBare { get; set; }
///
/// If true, the origin's HEAD will be checked out. This only applies
/// to non-bare repositories.
///
public bool Checkout { get; set; }
///
/// Handler for network transfer and indexing progress information
///
public TransferProgressHandler OnTransferProgress { get; set; }
///
/// Handler for checkout progress information
///
public CheckoutProgressHandler OnCheckoutProgress { get; set; }
///
/// Credentials to use for user/pass authentication
///
public Credentials Credentials { get; set; }
}
}